View source: R/apollo_validateInputs.R
apollo_validateInputs | R Documentation |
apollo_estimate
Searches the user work space (.GlobalEnv) for all necessary input to run apollo_estimate
, and packs it in a single list.
apollo_validateInputs(
apollo_beta = NA,
apollo_fixed = NA,
database = NA,
apollo_control = NA,
apollo_HB = NA,
apollo_draws = NA,
apollo_randCoeff = NA,
apollo_lcPars = NA,
recycle = FALSE,
silent = FALSE
)
apollo_beta |
Named numeric vector. Names and values for parameters. |
apollo_fixed |
Character vector. Names (as defined in |
database |
data.frame. Data used by model. |
apollo_control |
List. Options controlling the running of the code. User input is required for all settings except those with a default or marked as optional.
|
apollo_HB |
List. Contains options for Bayesian estimation. See
|
apollo_draws |
List of arguments describing the inter and intra individual draws. Required only if
|
apollo_randCoeff |
Function. Used with mixing models. Constructs the random parameters of a mixing model. Receives two arguments:
|
apollo_lcPars |
Function. Used with latent class models. Constructs a list of parameters for each latent class. Receives two arguments:
|
recycle |
Logical. If TRUE, an older version of |
silent |
Logical. TRUE to keep the function from printing to the console. Default is FALSE. |
All arguments to this function are optional. If the function is called without arguments, then it it will look in the user workspace (i.e. the global environment) for variables with the same name as its omitted arguments. We strongly recommend users to visit http://www.apollochoicemodelling.com/ for examples on how to use Apollo. In the website, users will also find a detailed manual and a user-group for help and further reference.
List grouping several required input for model estimation.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.