setDefaultSimulatedParameters {blatent} | R Documentation |
Creates simulation specifications for simulating data in blatent
Description
Sets the specifications for the generation of the types of parameters in the simulation. Currently comprised of a list of unevaluated expressions (encapsulated in quotation marks; not calls for ease of user input) that will be evaluated by simulation function to generate parameters. Input must be in the form of a random number generation function to be called, surrounded by quotation marks.
Usage
setDefaultSimulatedParameters(
observedIntercepts = "runif(n = 1, min = -2, max = 2)",
observedMainEffects = "runif(n = 1, min = 0, max = 2)",
observedInteractions = "runif(n = 1, min = -2, max = 2)",
latentIntercepts = "runif(n = 1, min = -1, max = 1)",
latentMainEffects = "runif(n = 1, min = -1, max = 1)",
latentInteractions = "runif(n = 1, min = -0.5, max = 0.5)",
latentJointMultinomial = "rdirichlet(n = 1, alpha = rep(1,nCategories))"
)
Arguments
observedIntercepts |
The data generating function for all intercepts for observed variables. Defaults to |
observedMainEffects |
The data generating function for the main effects for observed variables. Defaults to |
observedInteractions |
The data generating function for all interactions for observed variables. Defaults to |
latentIntercepts |
The data generating function for all intercepts for Bernoulli latent variables modeled with univariate structural models. Defaults to |
latentMainEffects |
The data generating function for the main effects for Bernoulli latent variables modeled with univariate structural models. Defaults to |
latentInteractions |
The data generating function for all interactions for Bernoulli latent variables modeled with univariate structural models. Defaults to |
latentJointMultinomial |
The data generating function for all interactions for multivariate Bernoulli latent variables modeled with joint structural models.
Defaults to |