maize.simule240: Wrapper function to run Maize model multiple times for...

Description Usage Arguments Value Examples

Description

Wrapper function for multiple simulation with Maize model

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)

Example output

            [,1]
nominal 2894.291
binf    1539.989
bsup    5526.973

ZeBook documentation built on May 1, 2019, 9:48 p.m.