extras 0.8.0
- Added a scalar case to
log_lik_beta_binom()to improve speed for scalar inputs. - Add memoization (if memoize package is installed) and data has > 800 rows to gain speed from repeated function calls.
- Use a vectorized optimization to improve speed of optimization required for deviance calculation.
extras 0.7.3.9002
- Remove dependency on MASS package so minimum R version can be brought down to 4.0.0 from 4.3.0.
extras 0.7.3
CRAN release: 2024-08-27
- Ensure all tests, examples, and vignettes run conditionally for packages listed in suggests.
extras 0.7.1
- Refactored
log_lik_beta_binom()to speed up optimization required indev_beta_binom(). - Styled all code in package.
extras 0.7.0
- Added sensitivity functions to produce list of new parameters that vary standard deviations (
sens_xxx()). - Added Skew Normal family of functions (
ran_skewnorm(),log_lik_skewnorm(),res_skewnorm(),dev_skewnorm()). - Added Skew Normal distribution functions (
rskewnorm(),dskewnorm(),pskewnorm(),qskewnorm()). - Added
log2()<-,log10()<-,ilog2(), andilog10()functions. - Added
exp2()andexp10()functions.
extras 0.6.0
CRAN release: 2023-04-28
extras 0.5.0
CRAN release: 2022-10-30
- Added following zero-inflated gamma Poisson functions
- Set R >= 3.5
extras 0.4.0
CRAN release: 2022-09-23
- Added
log_odds()andlog_odds()<-. - Added
dbern(),pbern(),qbern(),rbern().
extras 0.3.0
CRAN release: 2022-06-08
Added
- Added the following functions
-
step()R version of JAGS function. -
ilog(). -
inv_logit(). -
inv_odds()andodds()<-. -
odds_ratio2()andlog_odds_ratio2(). -
proportional_change(),proportional_difference(). -
ran_pois_zi(),log_lik_pois_zi(),res_pois_zi()anddev_pois_zi(). -
pzeros()to calculate proportion of zeros in a numeric object.
extras 0.2.0
CRAN release: 2021-08-05
Added
Functions
- Added the following function families
-
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)
- Added
odds(),odd_ratio()andlog_odds_ratio()to calculate odds, odds ratio and log odds ratio. - Added moments functions
xtr_mean(),xtr_sd(),variance(),skewness()andkurtosis(). - Added
xtr_median()to calculate the median. - Added
invlogit()to calculate the inverse logistic transform. - Added
fabs()to calculate the absolute value of x. Used in TMB as replacement forabs(). - Added
zeros()function to sum number of 0 values in a numeric (or MCMC object).
Deprecated
- Soft-deprecated
as_list_unnamed()foras_list(). - Soft-deprecated
pextreme()andsextreme().
extras 0.1.0
CRAN release: 2020-09-26
- Added
chk_indices()andvld_indices()to check (validate) if an object is a list of indices ie a vector of one or more positive integer values. - Added
par_pattern()to provide string of regular expression for a parameter name. - Added
as_list_unnamed()generic which by default strips all attributes except names. - Modified
chk_pars()andvld_pars()to permit missing values and duplicates.
