Wrapper function to run Maize model multiple times for multiple sets of parameter values and give Biomass at day240

Share:

Description

Wrapper function to run Maize model multiple times for multiple sets of parameter values and give Biomass at day240

Usage

1
  maize.simule240(X, weather, sdate, ldate, all = FALSE)

Arguments

X

: matrix of n row vectors of 7 parameters

weather

: weather data.frame for one single year

sdate

: sowing date

ldate

: last date

all

: if you want a matrix combining X and output (default = FALSE)

Value

a matrix of biomass at day=240 for all combinations of parameters of X

Examples

1
2
3
4
sy="18-2006"
weather = maize.weather(working.year=strsplit(sy,"-")[[1]][2],
  working.site=strsplit(sy,"-")[[1]][1],weather_all=weather_EuropeEU)
maize.simule240(maize.define.param(),weather, sdate=100, ldate=250, all=FALSE)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.