validate_questionnaire_gen: Wrapper-functions for check_condition

View source: R/validate.R

validate_questionnaire_genR Documentation

Wrapper-functions for check_condition

Description

functions to save space in ther 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)


lsasim documentation built on Aug. 22, 2023, 5:09 p.m.