sw_exampleData | R Documentation |
A dataset containing complete input data for an unspecified location.
sw_exampleData
An object of class swInputData
. Values
correspond to example1
; see example code.
Using sw_exampleData
as basis for creating a
site-specific simulation run is discouraged (even though there are many
such examples throughout the documentation of this package).
The recommended approach is to create a clean new object with
the helper constructor swInputData()
(or based on the prototype
new("swInputData")
) and then set all site-specific inputs and
parameters. See “rSOILWAT2_demo” vignette.
utils::data(sw_exampleData)
path_demo <- system.file("extdata", "example1", package = "rSOILWAT2")
x <- sw_inputDataFromFiles(dir = path_demo, files.in = "files.in")
## expect differences in slots "timestamp" and possibly "version"
all.equal(x, sw_exampleData)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.