Description Usage Arguments Value Examples
View source: R/get_XN5statevar_xno.R
By specifying mylocations$my.xno.path
the function internally will look for ALL .xno files
and search for results of the state variables of interest
1 2 3 4 5 | get_XN5statevar_xno(
mylocations,
state.vars = "output.Plant.Development Stage.BBCH Stage [-]",
query.return = FALSE
)
|
mylocations |
a list with two named elements. The names matter.
| |||||
state.vars |
a character specifying the name of the state variable(s) which should be collected. You might want to use the function get_columnNames_xno to verify if these exist. | |||||
query.return |
default to |
a data.table with the state variable results specified in state.vars
and searched for in location my.xno.path
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
# initialise list
mylocations <- list()
setwd("C:/Projects/ExpertN/expertn513d/built")
# assign paths:
# 1. location of xno.paths
mylocations$my.xno.path <- "./cfg/replicateECv10/"
# 2. location of output
mylocations$my.output.path <- "C:/Projects/ExpertN/myresults"
colnam <- get_columnNames_xno("./cfg/replicateECv10/output/replicateECv10_0_0_0_0.xno")
state.vars <- colnam[c(210,197)]
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.