View source: R/derived-data-prep.R
read_derived_data | R Documentation |
Read the derived data directly instead of via the nm object which is what
input_data()
does.
read_derived_data(name, na = ".", silent = FALSE, ...)
name |
Name or path of file (with or without extension). |
na |
Character to be passed to |
silent |
Logical (default = |
... |
Additional arguments to be passed to |
A data.frame
object of the NONMEM dataset.
write_derived_data()
, input_data()
, exclude_rows()
.
## requires NMproject directory structure to operate in ## Not run: ## read a dataset that's been copie into SourceData d <- read.csv("SourceData/orig_data.csv") ## modify it d <- d[d$ID < 10, ] d %>% write_derived_data("DerivedData/data.csv") ## load it again either with d <- read_derived_data("data") ## or more commonly if it is associated with run (e.g. m1), ## you can use input_data() to load it via the nm object d <- input_data(m1) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.