SimulationObject-class: S4 Class "SimulationObject"

Description Arguments Examples

Description

Contains the output of function Wofost()

Arguments

description:

Dataframe containing metadata of the simulation

variables:

List of length equal to nrow("description") containing the output variables. Each top level element of "variables" represents a crop.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
# Generate SimulationObjects
w <- randomWeatherLong
s <- randomSoil
cr <- dwn.crop()
wopp <- Wofost(w, cr)
womn <- Wofost(w, cr, manager = exampleManager)

wopp
womn

# Plot SimulationObjects
plot(wopp)
plot(wopp, var = c('dvs', 'tagp'))

plot(womn)
plot(womn, var = 'tagp')

lucabutikofer/WofostR documentation built on Aug. 9, 2021, 2:24 p.m.