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