ran_xx()
(random samples)log_lik_xx()
(log-likelihood)dev_xx()
(deviances)res_xx()
(residuals)for the following distributions - _bern
, (Bernoulli), - _binom
(binomial) - _pois
(Poisson) - _norm
(normal) - _lnorm
(log-normal) - _gamma
(gamma) - _gamma_pois
(gamma-Poisson)
odds()
, odd_ratio()
and log_odds_ratio()
to calculate odds, odds ratio and log odds ratio.xtr_mean()
, xtr_sd()
, variance()
, skewness()
and kurtosis()
.xtr_median()
to calculate the median.invlogit()
to calculate the inverse logistic transform.fabs()
to calculate the absolute value of x. Used in TMB as replacement for abs()
.zeros()
function to sum number of 0 values in a numeric (or MCMC object).threshold = 0
argument to pvalue()
and svalue()
.na_rm = FALSE
argument to lower()
, upper()
, pvalue()
, svalue()
and zscore()
.as_list_unnamed()
for as_list()
.pextreme()
and sextreme()
.chk_indices()
and vld_indices()
to check (validate) if an object is a list of indices ie a vector of one or more positive integer values.par_pattern()
to provide string of regular expression for a parameter name.as_list_unnamed()
generic which by default strips all attributes except names.chk_pars()
and vld_pars()
to permit missing values and duplicates.