Displaying 5 results from an estimated 5 matches for "nspeci".
Did you mean:
speci
2010 Dec 06
1
help getting data in correct format
...") approach but the function doesn't like it, i have also tried as.matrix(data =) but that doesn't work.
>>
>> What i require is the row names to be the first column of the txt file , as below
>>
>> This was made using this
>>
>> nTraits = 5
>> nSpecies = 20
>> a=matrix(runif(nTraits*nSpecies),nSpecies,nTraits)
>> rownames(a) = letters[1:nSpecies]
>>
>> However i want my data in their not simulated?
>>
>>
>>
>>
>> [,1] [,2] [,3] [,4] [,5]
>> a 0.72869780 0....
2005 Dec 22
3
reading long matrix
Hi,
I'm needing some help finding a function to read a large text file into an array in R. The data are essentially presence / absence / na data for many species and come as a grid with each species name (after two spaces) at the beginning of the matrix defining the map for that species. An excerpt could therefore be:
SPECIES1
999001099
900110109
011101000
901100101
110100019
901110019
2010 Oct 15
1
Random assignment
Dear List,
I am doing some simulation in R and need basic help!
I have a list of animal families for which i know the number of species in each family.
I am working under the assumption that a species has a 7.48% chance of being at risk.
I want to simulate the number of species expected to be at risk under a random binomial distribution with 10,000 randomizations.
I am relatively knew to
2006 Jan 16
2
Kite diagrams
I teach biology, and would like to show the students how to use R for
some statistical assignments. One of those is to make a kite diagram
(for example as seen in
http://www.medinavalleycentre.org.uk/images/Bembri1.jpg). Is there any
way to create one using R? I did a help.search("kite") and looked on the
r-project HP with no luck.
Previously when the course was taugh the students have
2012 Apr 13
1
R: Colouring phylogenetic tip labels and/or edges
Hi,
I have reconstructed ancestral character states on a phylogeny using MuSSE in the diversitree package and plotted the character state probabilities as pie charts on the nodes. I would, however, like to colour the character states of my extant species, i.e. the tip labels, the same colours as my pie charts, such that all species in state 1 are e.g. blue, species in state 2 red and species in