validate_questionnaire_gen {lsasim} | R Documentation |
Wrapper-functions for check_condition
Description
functions to save space in their parent functions by moving the validation checks here
Usage
validate_questionnaire_gen(
n_cats,
n_vars,
n_X,
n_W,
theta,
cat_prop,
cor_matrix,
cov_matrix,
c_mean,
c_sd
)
Arguments
n_cats |
vector with number of categories for each categorical variable (W) |
n_vars |
number of variables (Y, X and W) |
n_X |
number of continuous background variables (X) |
n_W |
number of categorical variables (W) |
theta |
is there a latent variable (Y)? |
cat_prop |
list of vectors with the cumulative proportions of the background variables |
cor_matrix |
correlation matrix of YXW |
cov_matrix |
covariance matrix of YXW |
c_mean |
vector of means of all variables (YXW) |
c_sd |
vector of standard deviations of all variables (YXW) |
[Package lsasim version 2.1.5 Index]