Package index
-
extract_draws()
- Extract parameters' draws
-
extract_distribution()
- Extract a distribution represented by samples
-
extract_pmf()
- Extract probability mass function from vector of samples
-
extract_pdf()
- Extract probability density function from vector of samples
-
extract_ci()
- Extract confidence intervals from a vector of samples
-
summary_statistics()
- Extract summary statistics
-
combine_prior_posterior()
plot_prior_posterior()
compute_prior_influence()
plot_prior_influence()
check_model_sensitivity()
- Compare prior to posterior
-
compute_coverage()
plot_coverage()
- Coverage probability
-
PPC_group_distribution()
- Posterior Predictive Check for Stan model
-
empirical_pval()
- Compute empirical p-values
-
post_pred_pval()
- Posterior Predictive p-value
-
compute_rsquared()
- Compute Bayesian R-squared from matrix of posterior replications
-
compute_calibration()
- Estimate calibration given forecasts and corresponding outcomes
-
compute_RPS()
- Compute RPS for a single forecast
-
compute_resolution()
- Compute resolution of forecasts, normalised by the uncertainty
-
is_scalar()
- Test whether x is of length 1
-
is_wholenumber()
is_scalar_wholenumber()
- Test whether x is a whole number
-
is_stanfit()
- Test whether an object is of class "stanfit"
-
cbbPalette
- A colour blind friendly palette (with black)
-
logit()
inv_logit()
- Logit and Inverse logit
-
approx_equal()
`%~%`
- Approximate equal
-
factor_to_numeric()
- Change the type of the column of a dataframe from factor to numeric
-
extract_index_nd()
- Extract multiple indices inside bracket(s) as a list