Articles by Richard O. Legendi

igraph degree distribution: count elements

February 13, 2013 | Richard O. Legendi

Unfortunately, the degree.distribution() function of the igraph library returns the intensities of the distribution:__ g __ plot(g) __ summary(g)IGRAPH U--- 10 10 -- Ring graphattr: name (g/c), mutual (g/x), circular (g/x) So instead of having the number of elements, the density/intensities value is returned:__ degree.distribution(... [Read more...]

Presentation at the RECENS Group

November 13, 2012 | Richard O. Legendi

I had a great opportunity to present my work on dynamic networks for the RECENS Group today at the  Hungarian Academy of Sciences, Centre for Social Sciences.It was a great honor, many thanks for the organizers, Károly Takács and Judit Pál for giving me the chance ... [Read more...]

Setting the Default RNG Seed in R

March 4, 2012 | Richard O. Legendi

How to set the default seed for the RNG behind the runif(), sample() and other command? Well, there are several ways doing that (like setting .Random.seed directly), but as the documentation states, set.seed() is the recommended way to specify seeds.__ ?set.seed__ set.seed(0)__ runif(1,0,1)[1] 0.8966972__ set.seed(0)__ runif(1,0,1)[1] 0.8966972__ ... [Read more...]

R subplot() with multiple lines

September 11, 2011 | Richard O. Legendi

I have recently used the subplot() function of the TeachingDemos library for R: I wanted to create a simple embedded chart with multiple lines on it. The trick was to create a simple function that prepares the whole plot and pass it to the subplot() function to execute as shown ... [Read more...]

Multiple plots with subplot in R

September 8, 2011 | Richard O. Legendi

I'm in the middle of creating a poster and wanted to compresss the content by transforming some of the charts into subplots of other charts.I made a little survey and found that there is a TeachingDemos library in CRAN that fits my needs. Well, the parameterization of the functions ... [Read more...]

Free R Book Collection

September 6, 2011 | Richard O. Legendi

I have just encountered some R PDF books that seem quite interesting. One of them is written by Venables himself.The Art of R Programming by Norman MatloffAn Introduction to R by W.N. Venables and D. M. SmithThe R Inferno by Patrick BurnsThe R Guide by... [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)