apollo_avgInterDraws {apollo}R Documentation

Averages inter-individual draws

Description

Averages individual-specific likelihood across inter-individual draws.

Usage

apollo_avgInterDraws(P, apollo_inputs, functionality)

Arguments

P

List of vectors, matrices or 3-dim arrays. Likelihood of the model components.

apollo_inputs

List grouping most common inputs. Created by function apollo_validateInputs.

functionality

Character. Description of the desired output from apollo_probabilities. Can take the values: "estimate", "prediction", "validate", "zero_LL", "conditionals", "output", "raw".

Value

Likelihood averaged over inter-individual draws (shape depends on argument functionality).


[Package apollo version 0.0.9 Index]