Guillem Hurault Functions' Library
Approximate equal
Change column names of a dataframe
Estimate calibration given forecasts and corresponding outcomes
Compute resolution of forecasts, normalised by the uncertainty
Compute RPS for a single forecast
Compute Bayesian R-squared from matrix of posterior replications
Coverage probability
Compute empirical p-values
Extract confidence intervals from a vector of samples
Extract a distribution represented by samples
Extract parameters' draws
Extract multiple indices inside bracket(s) as a list
Extract parameters from a single draw
Extract probability density function from vector of samples
Extract probability mass function from vector of samples
Change the type of the column of a dataframe from factor to numeric
HuraultMisc: Guillem Hurault Functions' Library
Test whether x is of length 1
Test whether an object is of class "stanfit"
Test whether x is a whole number
Logit and Inverse logit
Pipe operator
Posterior Predictive p-value
Posterior Predictive Check for Stan model
Compare prior to posterior
Extract posterior predictive distribution
Extract summary statistics
Contains various functions for data analysis, notably helpers and diagnostics for Bayesian modelling using Stan.
Useful links