gen_variable_n {lsasim}R Documentation

Randomly generate the quantity of background variables

Description

Randomly generate the quantity of background variables

Usage

gen_variable_n(n_vars, n_X, n_W, theta = FALSE)

Arguments

n_vars

number of variables in total (n_X + n_W + theta)

n_X

number of continuous variables

n_W

number of categorical variables

theta

number of latent variables

Value

vector with n_vars, n_X and n_W


[Package lsasim version 2.1.5 Index]