Posts Tagged ‘ Tech ’

Tumblr Likes

April 11, 2011
By
Tumblr Likes

Look at just the first digit and the number of digits. science: 32914, 11566, 4989, 3743, 968, 814, 673, 482, 286, 2811 black and white: 1694, 1167, 1108, 988, 919, 639, 596, 591, 580, 544 lol: 22627, 18100, 17688, 14374, 13459, 12045, 4711, 3779, 36...

Read more »

Tumblr Likes

April 11, 2011
By
Tumblr Likes

Look at just the first digit and the number of digits. science: 32914, 11566, 4989, 3743, 968, 814, 673, 482, 286, 2811 black and white: 1694, 1167, 1108, 988, 919, 639, 596, 591, 580, 544 lol: 22627, 18100, 17688, 14374, 13459, 12045, 4711, 3779, 36...

Read more »

Model for nothing – and the bootstrap for free

January 21, 2011
By
Model for nothing – and the bootstrap for free

Reconstructing phylogenies is an interesting task, sadly one that often requires to navigate between a multitude of software. To add an unnecessary layer of complexity to the whole thing, most of these softwares speaks different languages, and requires the user to do endless conversions from fasta to phylip to nexus to whatever new format they

Read more »

A (fast!) null model of bipartite networks

September 12, 2010
By
A (fast!) null model of bipartite networks

One of the challenges for ecologists working with trophic/interaction networks is to understand their organization. One of the possible approaches is to compare them across a random model, with more or less constraints, in order to estimate the departure from randomness. To this effect, null models have been developed. The basic idea behind a null

Read more »

A quick ggplot2 hack (multiple dataframes)

September 9, 2010
By
A quick ggplot2 hack (multiple dataframes)

I’m starting to get familiar with ggplot2, and I really like it. I just found a very quick way to use several dataframes within the same plot, provided that the dataframes share columns names. One obvious application is the production (…)Read the rest of this entry »

Read more »

Viewing a bipartite network

July 30, 2010
By
Viewing a bipartite network

A short modification of a function to draw bipartite networks in matrix form, with sorting of the network to reflect its nestedness.

Read more »

Why building R packages is good for you

July 23, 2010
By

Basically every function you use in R is part of a package (often the base or stats one). Most of the advances routines, such as the differential equations solvers in simecol are brought to R in the form of Fortran (…)Read the rest of this entry »

Read more »

Launch R document from Smultron / Fraise

July 12, 2010
By

A short code to launch R documents from Smultron / Fraise

Read more »

Subsampling for dummies

July 8, 2010
By

A little piece of code dealing with the subsampling of matrices, in R. Useful if you want to use something akin to bootstrap, or just check the size of your sample with regard to various statistics.

Read more »

Draw a trophic network with n levels

July 6, 2010
By

In the last few weeks, I started focusing more on more of trophic systems with three levels or more. I wanted something to visualize the resulting trophic network, so I came up with a little R function called draw.mnet (which stands for draw a multiple-levels network).

Read more »