I know this seems like a very easy question (and maye it is) but I've been
trying to simulate nested data and been unsucessful so far..

I want to simulate a varying number of species within a group; and then
create an array to store the results of my for-loop. For example:

groups<-3
species$groups<-as.integer(runif(groups,1,10))  #species per functional
group

###create arrays to store results

p<-array(NA,dim=c(species$groups))

So, far this is not working...

Thanks!


-- 
---
Lic. Andrea Paula Goijman
PhD Candidate
Georgia Cooperative Fish and Wildlife Research Unit
D.B. Warnell School of Forestry and Natural Resources
University of Georgia
Athens, GA 30602 USA
Tel. 706.206.4805
andreapg@uga.edu

Grupo Ecología y Gestión Ambiental de la Biodiversidad
IRB - INTA Castelar, Argentina
agoijman@cnia.inta.gov.ar
http://inta.gob.ar/personas/goijman.andrea/

	[[alternative HTML version deleted]]

