| bb_prepare_data | R Documentation |
Performs the shared input validation for the beta-binomial fitting functions: length checks, removal of non-finite cases, and checks for negative or non-integer scores.
bb_prepare_data(age, score, weights = NULL)
age |
Numeric vector of predictor values. |
score |
Numeric vector of response values. |
weights |
Optional numeric vector of weights. |
A list with the (possibly filtered) elements age, score, weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.