Skip to contents

All functions

adjust_alpha_optimize()
Adjust the alpha level of the envelope test using optimization
check_sum_to_zero()
Check if random effect means sum-to-zero.
constrain_interval()
Constrain vector to be inside interval
empirical_coverage()
Calculates the empirical coverage of a vector `x`.
get_lims()
Upper and lower limits for goodness of fit.
mutate_dummy()
Mutate a new set of columns for dummy variable coding of `var`.
p_interior()
Probability of the ECDF being completely within the envelope as z2
repeat_matrix()
Repeat a matrix along the diagonal.
run_commit_push()
Run and optionally commit or push a collection of reports.
softmax()
Compute the softmax of a vector.
stable_softmax()
Compute the numerically-stable softmax of a vector.
tau_fixed()
Fixing the precision prior in `R-INLA`.
tau_pc()
Penalised complexity precision prior for `R-INLA`.
to_int()
Categorical to indicators.