input_data | R Documentation |
Uses data_path
field of object to locate data and read in.
input_data(m, filter = FALSE, na = ".", ...)
m |
An nm object. |
filter |
Logical (default = |
na |
Character. Passed to |
... |
Additional arguments passed to either |
# create example object m1 from package demo files exdir <- system.file("extdata", "examples", "theopp", package = "NMproject") m1 <- new_nm(run_id = "m1", based_on = file.path(exdir, "Models", "ADVAN2.mod"), data_path = file.path(exdir, "SourceData", "THEOPP.csv")) d <- input_data(m1) head(d) ## only non-ignored rows d_nonignore <- input_data(m1, filter = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.