View source: R/1b-base-model-function.R
stages | R Documentation |
Obtain the stages of a given variable in a staged event tree object.
stages(object, var = NULL)
object |
an object of class |
var |
name of one variable in |
If var
is specified, it returns a character vector with
stage names for the given variable
(that is object$stages[[var]]
.
Otherwise, If var
is not specified, stages
returns a list of character vectors containing the stages associated
to each variable in the model (that is object$stages
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.