View source: R/1b-base-model-function.R
split_stage_random | R Documentation |
Randomly assign some of the paths to a new stage.
split_stage_random(object, var, stage, p = 0.5)
object |
an object of class |
var |
the variable name. |
stage |
the name of the stage. |
p |
probability to move a situation from the original stage into the new stage. |
Splits randomly a given stage into two stages. More precisely,
it assigns each situation within the given stage into a new stage with
probability p
.
an object of class sevt
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.