filter.mrgmod | R Documentation |
Filter a dataset within a mrgmod
## S3 method for class 'mrgmod'
filter(.data, ..., .preserve = FALSE)
.data |
a mrgmod |
..., .preserve |
additional arguments for |
a mrgmod
library(magrittr)
mod <- mrgsolve::mcode("mod", "$CMT FOO", compile = FALSE)
mod %>%
adm_rows(amt = c(100, 200, 300), cmt = 1) %>%
filter(amt != 200) %>%
get_data()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.