# NOT RUN {
mod_echcg <- prosper.ECHCG(param.weed = param.ECHCG, area=100, af=c(0.001),
undersowing=0.2,dom=0.5,duration=7,repetitions=1)
#The model call for Redwitz et al. (2015)
undersowing_prob <- c(1, 0.3, 0) #no undersowing, strong competition, complete dominance
years <- 20
reps <- 4
####------------------------
simu_collect <- list()
for(simu in 1:3){
simu_collect[[simu]] <- prosper.ECHCG(area = 100,
param.weed = param.ECHCG,
thresh = 20,
duration = years,
af = 0.001,
dom = 1,
undersowing = undersowing_prob[simu],
repetitions = reps
)
}
# }
# NOT RUN {
mod_galap <- prosper.GALAP(param.weed=param.GALAP, repetitions=2, duration=10)
# }
# NOT RUN {
mod_lolri <- prosper.LOLRI(param.weed=param.LOLRI, area=100,
duration=15, repetitions=3)
# }
Run the code above in your browser using DataLab