| get_nmblock | R Documentation |
This function returns a list with indices or content of dollar blocks
get_nmblock(model, block, ret = "content", omitbn = TRUE)
model |
character vector of length 1 with filename of model, in case length is greater than 1 it is assumed to be a vector with model code |
block |
character vector with names of the model blocks. Take into account that grep is used with respect to partial matching |
ret |
character with the type of return value can be either "content" or "index" |
omitbn |
logical indicating if the name of the block should be omitted when return (has only effect if ret="content") |
a list with either a numeric vector with the indices or a character vector with the content of the dollar blocks
Richard Hooijmaijers
mod <- system.file("example_models","PK.1CMT.ORAL.mod", package = "amp.sim")
get_nmblock(mod,"OMEGA")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.