get_posterior_probability_from_cutoff_target | R Documentation |
Get posterior probability from proportion or population
get_posterior_probability_from_cutoff_target(
posterior_samples,
population_count_year = 1,
population_count_relative_to_year = 1,
indicator,
year,
relative_to_year = NULL,
above,
cutoff
)
posterior_samples |
‘Array’ The samples array from |
indicator |
'integer' Indicator index (1 = modern, 2 = traditional, 3 = unmet) |
year |
'integer' Year index |
above |
‘logical' If FALSE then it’s below |
cutoff |
'numeric' Cutoff proportion or population |
population_count |
'integer' Number of individuals in the sample population (1 to calculate from proportion) |
'numeric' Posterior probability
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.