Description Usage Arguments Value
Using the conditional likelihoods of each latent class, as well as teir classification probabilities, calculate the weighted likelihood of the whole model.
1 | apollo_lc(lc_settings, apollo_inputs, functionality)
|
lc_settings |
List of arguments used by
|
apollo_inputs |
List grouping most common inputs. Created by function apollo_validateInputs. |
functionality |
Character. Can take different values depending on desired output.
|
The returned object depends on the value of argument functionality as follows.
"estimate": vector/matrix/array. Returns the probabilities for the chosen alternative for each observation.
"prediction": List of vectors/matrices/arrays. Returns a list with the probabilities for all models components, for each class.
"validate": Same as "estimate", but also runs a set of tests on the given arguments.
"zero_LL": Same as "estimate"
"conditionals": Same as "estimate"
"output": Same as "estimate" but also writes summary of input data to internal Apollo log.
"raw": Same as "prediction"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.