Skip to contents

Manipulate Objects

Functions to numericise and fill objects

numericise() numericize()
Numericise (or Numericize)
fill_na()
Fill Missing Values
fill_all()
Fill All Values

Summary Functions

Functions to summarise MCMC vectors as scalars

lower()
Lower Credible Limit
upper()
Upper Credible Limit
zscore()
Z-Score
pvalue()
Bayesian P-Value
svalue()
Surprisal Value
xtr_mean()
Mean
xtr_median()
Median
xtr_sd()
Standard Deviation
variance()
Variance
skewness()
Skewness
kurtosis()
Kurtosis
zeros()
Zeros
pzeros()
Proportion of Zeros

Conversion Functions

Conversion functions

fabs()
Absolute
exp2()
Exponential Transformation of Base 2
exp10()
Exponential Transformation of Base 10
ilog()
Inverse Log Transformation
ilog2()
Inverse Log Base 2 Transformation
ilog10()
Inverse Log Base 10 Transformation
ilogit()
Inverse Logistic Transformation
invlogit()
Inverse Logistic Transformation
inv_odds()
Inverse Odds
`log2<-`()
Log Base 2 Transformation
`log10<-`()
Log Base 10 Transformation
logit()
Logistic Transformation
odds()
Odds
phi()
Phi
pow()
Power

Odds Functions

Odds functions

inv_odds()
Inverse Odds
log_odds()
Log Odds
`log_odds<-`()
Inverse Log Odds Transformation
log_odds_ratio()
Log-Odds Ratio
log_odds_ratio2()
Log Odds Ratio2
odds()
Odds
`odds<-`()
Inverse Odds Transformation
odds_ratio()
Odds Ratio
odds_ratio2()
Odds Ratio2

Proportional Functions

Proportional functions

proportional_change()
Proportional Change
proportional_change2()
Proportional Change2
proportional_difference()
Proportional Difference
proportional_difference2()
Proportional Difference2

Translations

Translations of BUGS/JAGS functions

fabs()
Absolute
ilog()
Inverse Log Transformation
ilogit()
Inverse Logistic Transformation
invlogit()
Inverse Logistic Transformation
inv_logit()
Inverse Logistic Transformation
`log<-`()
Log Transformation
logit()
Logistic Transformation
`logit<-`()
Logistic Transformation
phi()
Phi
pow()
Power
step()
Step

Checks and Validation

Functions to check argument values

chk_pars() vld_pars()
Check Parameter Names
chk_index() vld_index()
Check Index
chk_indices() vld_indices()
Check Indices

Deviance

Deviances and Deviance Residuals

dev_bern()
Bernoulli Deviances
dev_beta_binom()
Beta-Binomial Deviances
dev_binom()
Binomial Deviances
dev_gamma()
Gamma Deviances
dev_gamma_pois()
Gamma-Poisson Deviances
dev_gamma_pois_zi()
Zero-Inflated Gamma-Poisson Deviances
dev_lnorm()
Log-Normal Deviances
dev_neg_binom()
Negative Binomial Deviances
dev_norm()
Normal Deviances
dev_pois()
Poisson Deviances
dev_pois_zi()
Zero-Inflated Poisson Deviances
dev_skewnorm()
Skew Normal Deviances
dev_student()
Student's t Deviances

Residual

Raw and Deviance Residuals

res_bern()
Bernoulli Residuals
res_beta_binom()
Beta-Binomial Residuals
res_binom()
Binomial Residuals
res_gamma()
Gamma Residuals
res_gamma_pois()
Gamma-Poisson Residuals
res_gamma_pois_zi()
Zero-Inflated Gamma-Poisson Residuals
res_lnorm()
Log-Normal Residuals
res_neg_binom()
Negative Binomial Residuals
res_norm()
Normal Residuals
res_pois()
Poisson Residuals
res_pois_zi()
Zero-Inflated Poisson Residuals
res_skewnorm()
Skew Normal Residuals
res_student()
Student's t Residuals

Log-Likelihood

Log-likelihood functions

log_lik_bern()
Bernoulli Log-Likelihood
log_lik_beta_binom()
Beta-Binomial Log-Likelihood
log_lik_binom()
Binomial Log-Likelihood
log_lik_gamma()
Gamma Log-Likelihood
log_lik_gamma_pois()
Gamma-Poisson Log-Likelihood
log_lik_gamma_pois_zi()
Zero-Inflated Gamma-Poisson Log-Likelihood
log_lik_lnorm()
Log-Normal Log-Likelihood
log_lik_neg_binom()
Negative Binomial Log-Likelihood
log_lik_norm()
Normal Log-Likelihood
log_lik_pois()
Poisson Log-Likelihood
log_lik_pois_zi()
Zero-Inflated Poisson Log-Likelihood
log_lik_skewnorm()
Skew Normal Log-Likelihood
log_lik_student()
Student's t Log-Likelihood

Random

Random sample functions

ran_bern()
Bernoulli Random Samples
ran_beta_binom()
Beta-Binomial Random Samples
ran_binom()
Binomial Random Samples
ran_gamma()
Gamma Random Samples
ran_gamma_pois()
Gamma-Poisson Random Samples
ran_gamma_pois_zi()
Zero-Inflated Gamma-Poisson Random Samples
ran_lnorm()
Log-Normal Random Samples
ran_neg_binom()
Negative Binomial Random Samples
ran_norm()
Normal Random Samples
ran_pois()
Poisson Random Samples
ran_pois_zi()
Zero-Inflated Poisson Random Samples
ran_skewnorm()
Skew Normal Random Samples
ran_student()
Student's t Random Samples

Sensitivity

Sensitivity functions

sens_beta()
Adjust Beta Distribution Parameters for Sensitivity Analyses
sens_exp()
Adjust Exponential Distribution Parameters for Sensitivity Analyses
sens_gamma()
Adjust Gamma Distribution Parameters for Sensitivity Analyses
sens_gamma_pois()
Adjust Gamma-Poisson Distribution Parameters for Sensitivity Analyses
sens_gamma_pois_zi()
Adjust Zero-Inflated Gamma-Poisson Distribution Parameters for Sensitivity Analyses
sens_lnorm()
Adjust Log-Normal Distribution Parameters for Sensitivity Analysis
sens_neg_binom()
Adjust Negative Binomial Distribution Parameters for Sensitivity Analyses
sens_norm()
Adjust Normal Distribution Parameters for Sensitivity Analyses
sens_pois()
Adjust Poisson Distribution Parameters for Sensitivity Analyses
sens_skewnorm()
Adjust Skew Normal Distribution Parameters for Sensitivity Analyses
sens_student()
Adjust Student's t Distribution Parameters for Sensitivity Analyses

Bernoulli

Bernoulli distribution functions

dbern() pbern() qbern() rbern()
Bernoulli Distribution

Skew Normal

Skew Normal distribution functions

dskewnorm() pskewnorm() qskewnorm() rskewnorm()
Skew-Normal Distribution

Miscellaneous

Miscellaneous functions

par_pattern()
Parameter Pattern

Generics

Generic Functions

as_list()
As List

Deprecated

Deprecated functions

pextreme() deprecated
Extreme Probability
sextreme() deprecated
Extreme Surprisal
as_list_unnamed()
As List