View source: R/observation_model_likelihoods.R
r_likelihood | R Documentation |
Calculates the likelihood of observing a set of discrete measurements given a corresponding set of predicted antibody levels
r_likelihood(
expected,
data,
theta,
expected_indices = NULL,
measurement_shifts = NULL
)
expected |
vector of expected antibody levels |
data |
vector of observed discrete measurements |
expected_indices |
the indices of the measurement_shifts vector that each predicted antibody level needs adding to it |
measurement_shifts |
the vector of measurement shifts for each cluster to add to the predicted antibody levels |
a vector with the likelihood of making each observation given the predictions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.