plot-SimulationObject-method: S4 Method for generic "plot()", SimulationObject

Description Usage Arguments Examples

Description

Plots an overview of the output of function Wofost

Usage

1
2
## S4 method for signature 'SimulationObject'
plot(x, var = NULL)

Arguments

x

SimulationObject S4 object

var

Character vector of variable names that will be plotted.

Examples

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

# 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.