gen_variable_n: Randomly generate the quantity of background variables

View source: R/gen_variable_n.R

gen_variable_nR 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


tmatta/lsasim documentation built on Aug. 25, 2023, 5:50 p.m.