var_names | R Documentation |
Get variable names of one or more type(s)
This returns all variable names of a certain type ("param", "state", "obs",
"noise", "const") contained in the model of a libbi
object
var_names(x, vars, type, dim = FALSE, opt = FALSE, aux = FALSE)
x |
a |
vars |
a character vector of variable names; if given, only these variables names will be considered |
type |
a character vector of one or more types |
dim |
logical; if set to TRUE, names will contain dimensions in brackets |
opt |
logical; if set to TRUE, names will contain options (e.g., has_output) |
aux |
logical; if set to TRUE, auxiliary names will be returned |
a character vector ofvariable names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.