Skip to contents

getInput2mvrnorm

Usage

getInput2mvrnorm(list_var)

Arguments

list_var

Either c() or output of init_variable

Value

a list that can be used as input for MASS::mvrnorm

Examples

list_var <- init_variable(name = "my_var", mu = 0, sd = 2, level = 3)
#> Variable name should not contain digits, spaces, or special characters.
#> If any of these are present, they will be removed from the variable name.
getInput2mvrnorm(list_var)
#> $mu
#> myvar 
#>     0 
#> 
#> $covMatrix
#>             label_myvar
#> label_myvar           4
#>