[R] simulation in R

Kristi Glover kristi.glover at hotmail.com
Wed Apr 20 07:48:41 CEST 2016


Hi R user,
Would you mind to help me to find the range with stochastic events? For example,

daT<-structure(list(sn = 1:14, growthrate = c(0.5, 0.6, 0.7, 0.99,
0.1, 0.3, 0.4, 0.5, 0.5, 0.2, 0.1, 0.4, 0.3, 0.43)), .Names = c("sn",
"growthrate"), class = "data.frame", row.names = c(NA, -14L))

I want to find the ranges of growth rate of the above data using Mote corle simulation (9999 times) under three conditions:
1. very drought ( in that condition growth will not be more than 0.5). [what would be the range (max, min ) of the growth rate for this scenario)
2. no constraints of  food (growth will be 1 or 100%) (what would be the range (max,min) of growth rate in this scenario?).
3. Control (as it is) (Range??, max.min)

I tried to find whether some one had same problem but I could not find it, is it too complicated to write the code in R for this example? your help will be highly appreciated.

Sincerely,


KG



	[[alternative HTML version deleted]]



More information about the R-help mailing list