search for: speciesa

Displaying 2 results from an estimated 2 matches for "speciesa".

Did you mean: species
2009 Nov 04
2
splitting scientific names into genus, species, and subspecies
I have a list of scientific names in a data set. I would like to split the names into genus, species and subspecies. Not all names include a subspecies. Could someone show me how to do this? My example code is: a <- matrix(c('genusA speciesA', 10, 'genusB speciesAA', 20, 'genusC speciesAAA subspeciesA', 15, 'genusC speciesAAA subspeciesB', 25), nrow=4, byrow=TRUE) aa <- data.frame(a) colnames(aa) <- c('species', 'counts') aa # The co...
2007 May 21
1
Comparing multiple distributions
...er column structure etc.). So my data is special in that, at each sampling site (each observation), I don't have *one* number, I have *several* numbers (abundance of organisms in each depth bin, I sample 5 depth bins) which describe a vertical distribution. Then let say I want to compare speciesA with speciesB, I would end up trying to compare a group of several distributions with another group of several distributions (where a "distribution" is a vector of 5 numbers: an abundance for each depth bin). Does anyone know how I could do this (with R obviously ;) )? Currently...