Hello, I am trying to learn how to create a simulated dataset of a forest stand: I must simulate 10 stands, for each of the stands I have been creating a random number of trees. For each tree I should create a random diameter. The problem I have is that I cannot use a matrix because the length of the three items is different. I was trying with list but I have no clue on how to make a dataset out of them... tried "merge".... Anyone has some clever suggestion? THANK you !! Giovanna
Giovanna Ottaviani Aalmo Stipendiat/Ph.D. Student ------------------------------------------- Norsk institutt for skog og landskap Pb 115, NO-1431 Ås T (+47) 64 94 9094 M(+47) 980 30 422 F(+47) 64 94 90 80 ------------------------------------------- www.skogoglandskap.no<http://www.skogoglandskap.no/> ------------------------------------------- [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.