[R] simulation in R
Kristi Glover
kristi.glover at hotmail.com
Wed Apr 20 08:06:06 CEST 2016
I realized that there was a typo error. I mean "Monte Carlo Simulation"
________________________________________
From: R-help <r-help-bounces at r-project.org> on behalf of Kristi Glover <kristi.glover at hotmail.com>
Sent: April 19, 2016 11:48 PM
To: R-help
Subject: [R] simulation in R
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]]
______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.
More information about the R-help
mailing list