sim_covars_mvn: Simulate data from a multivariate normal distribution

View source: R/sim_covars_mvn.R

sim_covars_mvnR Documentation

Simulate data from a multivariate normal distribution

Description

Data are simulated from a multivariate normal distribution. To create factors, the columns for which probs and orderedis specified are converted into factors by cutting the simulated continuous variable at the quantiles given by probs.

Usage

sim_covars_mvn(N, covar_pars, seed = NULL, ...)

Arguments

N

the sample size

covar_pars

a list with objects means, vcov, probs and ordered

seed

seed value

...

additional parameters (not used)


NErler/simvalidator documentation built on May 17, 2022, 7:54 a.m.