maize.simule240 {ZeBook}R Documentation

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

Description

Wrapper function for multiple simulation with Maize model

Usage

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

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)

[Package ZeBook version 1.1 Index]