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

Description Usage Arguments Value Examples

View source: R/maize.model.r

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)

ZeBook documentation built on May 19, 2017, 2:34 p.m.

Search within the ZeBook package
Search all R packages, documentation and source code