Package index
-
bf() - Set up a model formula
-
lf() - Add parameter formulas to a model formula
-
nlf() - Add a nonlinear parameter formula to a model formula
-
ps() - A penalized spline whose value a nonlinear body consumes
-
mvbf()set_rescor() - Combine formulas into a multivariate model
-
`+`(<frmtmb_bform>) - Add to a model formula
-
set_mecor() - Control the correlation of noise-free latent variables
-
update_adterms() - Update the addition terms of a formula
-
num_factor() - Factor with numeric-coded levels for coordinate covariance structures
-
frmtmb-autocor - Within-group residual correlation (R-side autocorrelation)
-
ar()ma()arma()cosy()unstr()fcor()acformula() - Autocorrelation terms outside a formula
-
frmtmb-meme - Noise-free predictors with known measurement error
-
frmtmb-multimembership - Multi-membership random effects
-
frm() - Fit a model
-
frmtmb_control() - Control parameters for frmtmb fits
-
par_template() - Parameter names and starting values
-
frm_allfit() - Refit a model with every available optimizer
-
frm_simulate() - Simulate responses from a formula and parameters
-
frm_multiple() - Fit a model across multiply imputed datasets
-
fixef(<frmtmb_multiple>)summary(<frmtmb_multiple>)conditional_effects(<frmtmb_multiple>)vcov(<frmtmb_multiple>)coef(<frmtmb_multiple>)ranef(<frmtmb_multiple>)VarCorr(<frmtmb_multiple>)fitted(<frmtmb_multiple>)nobs(<frmtmb_multiple>)formula(<frmtmb_multiple>)family(<frmtmb_multiple>) - Pooled post-processing of a frm_multiple() fit
-
frmtmb_family()custom_family() - Define a model family
-
frmtmb_structure() - Declare a non-rowwise likelihood to the core
-
frmtmb_register_frame_check() - Check an assembled model frame from another package
-
frmtmb_register_aterm() - Add an addition term from another package
-
frmtmb_register_covstruct() - Register a covariance structure from another package
-
frmtmb_register_autocor() - Register a residual correlation term from another package
-
frmtmb_autocor_pars() - The parameters of a fit's residual correlation terms
-
frmtmb_covstruct_info() - What frmtmb knows about a covariance structure
-
frmtmb_local_registries() - Save frmtmb's registries, and restore them when a test ends
-
frmtmb_register_compat()compat_rule_builder()compat_aterm_rules() - Contribute to the compatibility matrix from another package
-
frmtmb_ad_overload() - Make a user-written function tape-safe
-
response_mean()mixture_multimodal_refusals()mixture_posterior()as_frmtmb_family()eval_dpars()single_response()fit_extras()dpar_linpred()structure_supports_all()frame_block_of() - The two fitting options every mixture-type family refuses, in its own name.
-
frm_stop()frm_warning()frm_message()frm_family_package()frm_match_arg() - Classed conditions
-
frmtmb-gpfrmtmb_gp_nugget - Exact Gaussian processes and their nugget
-
dpar_log()dpar_log1m()dpar_log_complement()dpar_complement() - Exact distributional parameters for a custom density
-
us_sigma()us_theta() - Unstructured covariance matrix from its parameter vector
-
latent_probs() - Posterior probabilities of the latent states
-
dirichlet()logistic_normal()student()lognormal()negbinomial()nbinom1()Beta()tweedie()compois()zero_inflated_poisson()zero_inflated_negbinomial()hurdle_poisson()hurdle_negbinomial()multinomial()dirichlet_multinomial()cumulative()hurdle_cumulative()beta_binomial()zero_inflated_beta_binomial()skew_normal()exgaussian()bernoulli()geometric()exponential()weibull()shifted_lognormal()hurdle_gamma()hurdle_lognormal()zero_inflated_binomial()zero_inflated_beta()zero_one_inflated_beta()xbeta()asym_laplace()zero_inflated_asym_laplace()huber()sratio()cratio()acat()von_mises()categorical() - Additional response families
-
frechet()gen_extreme_value()discrete_weibull() - Extreme-value and discrete Weibull families
-
frmtmb-links - Link functions
-
print(<frmtmb_family>) - Print a family
-
brmsfamily() - Build a family by name, with a link for any of its parameters
-
mixture() - Finite mixture families
-
mixture_probs() - Posterior class probabilities of a mixture fit
-
frmtmb-student-re - Student-t distributed random effects
-
check_custom_family() - Check a custom family's log-density for AD safety
-
confint(<frmtmb_fit>) - Confidence intervals for frmtmb fits
-
confint_varcorr() - Natural-scale confidence intervals for covariance parameters
-
vcov_cluster() - Cluster-robust (sandwich) covariance
-
cluster_scores() - Per-cluster score matrix
-
autocor_matrix() - Estimated within-group residual correlation matrix
-
autocor() - Autocorrelation structures of a fit (deprecated)
-
profile(<frmtmb_fit>) - Likelihood profiles
-
hypothesis() - Hypothesis tests on parameter expressions
-
plot(<frmtmb_hypothesis>)print(<frmtmb_hyp_plot>)plot(<frmtmb_hyp_plot>) - Plot hypothesis tests
-
variables() - Usable parameter names
-
parnames() - Deprecated name of variables()
-
frm_bootstrap() - Parametric bootstrap
-
diagnose() - Convergence diagnostics for a frmtmb fit
-
dharma_residuals() - DHARMa residual diagnostics
-
residuals(<frmtmb_fit>) - Residuals from a frmtmb fit
-
plot(<frmtmb_fit>) - Diagnostic plots for a fit
-
pp_check() - Predictive check against simulated responses
-
anova(<frmtmb_fit>) - Likelihood-ratio tests between nested frmtmb fits
-
logLik_penalized()AIC(<frmtmb_fit>)BIC(<frmtmb_fit>)logLik(<frmtmb_fit>) - Log-likelihood and penalized log-likelihood of a fit
-
anova(<frmtmb_multiple>) - Pooled model comparison across imputations (D1, D2, D3)
-
drop1(<frmtmb_fit>) - Single-term deletions
-
as_draws()as_draws_matrix()as_draws_array()as_draws_df()as_draws_list()as_draws_rvars() - Convert to a posterior draws object
-
loo()waic()loo_compare()LOO()WAIC() - Approximate leave-one-out cross-validation
-
log_lik() - Pointwise log-likelihood
-
bayes_R2() - Bayesian R-squared
-
loo_epred()loo_linpred()loo_predict()loo_predictive_interval()loo_R2()loo_model_weights()kfold()reloo()loo_moment_match()loo_subsample() - Leave-one-out functions that need posterior draws
-
add_criterion() - Add a model comparison criterion to a fit
-
pp_mixture() - Posterior mixture-component probabilities at the estimates
-
stancode()standata() - Stan code and Stan data of a model
-
posterior_summary() - Summaries and intervals of draws
-
expose_functions() - Expose a model's compiled functions
-
ndraws()nchains()niterations()nvariables() - Size of a draws object
-
getME(<frmtmb_fit>) - Extract components of a fit, lme4 style
-
frmtmb-sampling-apibuild_objectivegp_tape_scopegp_tape_ordergp_nugget_messagerow_lpdfwith_cs_offsetscs_offsets_addupdate_merge_priorce_by_responseresp_refuse_singlece_na_varsautocor_for_newdataus_chol_corexpand_baterms_for_newdatahas_truncas_priorlistcheck_prior_slotsresolve_prior_inputneg_log_prior_fnresolve_boundsspec_targetspec_spellingfrmtmb_register_prior_defaultsncp_eligiblencp_scale_bncp_unscale_bcovstruct_has_cholblock_sd_idxblock_cor_priorblock_n_coris_student_blocksim_cansim_notesim_contextsim_drawsim_is_structuredpar_name_bareouter_par_namesestimated_coef_nameslog_sd_theta_indexsdr_ofrequire_fittedhyp_parse_allhyp_vals_onlyhyp_env_valshyp_evalhyp_tail_phyp_class_prefixhyp_labelshyp_samples_framehyp_brms_resultbrms_coef_namesbrms_re_rnamesbrms_block_has_rbrms_coef_tablebrms_stan_namebrms_group_namebrms_levelsbrms_re_partshyp_eval_inhyp_expr_varsbrms_par_labelsgp_brms_naturalmi_samplingvarcorr_matricesvarcorr_layoutvarcorr_valuesce_grids_buildce_boot_onece_framece_finalizece_cats_displayce_display_kindce_pred_dparce_group_varsce_structure_checkce_re_formulace_dotsfind_linpredarg_unsetre_form_argfrm_install_genericsfrm_check_dotsvcov_estimatedfam_is_category_valuedpredict_category_propsbrms_summary_matrixbrms_summary_arraybrms_summarize_drawsbrms_prob_colsbrms_fixef_rowsord_delta_infoord_lp_blocksord_thres_linpredrescor_row_loglikpredict_rescor_drawautocor_flat_priorsautocor_bound_chartautocor_row_loglikarma_cond_respframe_ac_termslatres_new_speclatres_shiftedautocor_cond_strip_latentarma_cond_dparsarma_cond_fill_dparsarma_cond_fill_epredresponse_codes_newdatasubset_resp_checksubset_newdatamo_simplexmo_coordsmo_chart_framemo_frame_termssimplex_frame_termssummary_mo_framecs_buildcs_coefcs_framecs_finalizecs_probsce_spaghettice_check_distancece_spaghetti_checkce_level_plance_plan_evalce_plan_has_newce_methodce_predict_family_checkce_sim_onepp_check_respcheck_weights_unbounded - Core internals for a sampling extension
-
influence(<frmtmb_fit>)cooks.distance(<frmtmb_fit>)dfbeta(<frmtmb_influence>)dfbetas(<frmtmb_influence>) - Influence measures by case deletion
-
plot(<frmtmb_influence>) - Plot case-deletion influence
-
set_prior() - Set up priors brms-style
-
prior()prior_()prior_string() - Set up priors with brms's quoting spelling
-
print(<frmtmb_priorlist>) - Print a prior specification
-
`$`(<frmtmb_priorlist>)`$<-`(<frmtmb_priorlist>) - Column access on a prior specification
-
empty_prior() - An empty prior specification
-
as.brmsprior() - Transform an object into a prior specification
-
default_prior()get_prior() - Default priors: the slots a prior can target
-
validate_prior() - Check a prior against a model
-
prior_normal()prior_t()prior_logistic()prior_gamma()prior_inv_gamma()prior_beta()prior_lkj()prior_dirichlet() - Prior density objects
-
prior_summary() - Priors used in a fit
-
predict(<frmtmb_fit>) - Predictions from a frmtmb fit
-
frm_linpred() - Predictions from a frmtmb fit
-
fitted(<frmtmb_fit>) - Fitted values
-
conditional_effects() - Conditional effects of predictors
-
plot(<frmtmb_conditional_effects>)print(<frmtmb_ce_plot>)plot(<frmtmb_ce_plot>) - Plot conditional effects
-
conditional_smooths() - Display the smooth terms of a model
-
make_conditions() - Build a conditions data frame for conditional_effects()
-
simulate(<frmtmb_fit>) - Simulate responses from a frmtmb fit
-
refit(<frmtmb_fit>) - Refit a model to a new response
-
update(<frmtmb_fit>) - Update and refit a model
-
coef(<frmtmb_fit>) - Per-group coefficients (fixed effects plus conditional modes)
-
fixef(<frmtmb_fit>) - Extract fixed effects
-
fixef_by_dpar() - Fixed effects per linear predictor
-
ranef(<frmtmb_fit>) - Extract random-effect modes
-
ngrps() - Number of levels per random-effect grouping factor
-
VarCorr(<frmtmb_fit>) - Extract random-effect standard deviations and correlations
-
rescor_matrix() - Estimated residual correlation matrix (rescor fits), else NULL
-
vcov(<frmtmb_fit>) - Covariance matrix of the fixed-effect estimates
-
frm_lp_basis() - The design of a linear predictor over the coefficient vector
-
frm_extra_cov_deriv() - The covariance of a curve's derivative that is not coefficient uncertainty
-
frm_curve() - A fitted curve on a grid, with pointwise and simultaneous bands
-
frm_curve_deriv() - Derivatives of a fitted curve
-
frm_curve_feature() - Features of a fitted curve: a peak, a trough, or a level crossing
-
frmtmb-emmeans - emmeans support
-
frmtmb-marginaleffects - marginaleffects on frmtmb fits
-
frm_joint_cov() - The joint covariance of the fixed and random coefficients
-
sigma(<frmtmb_fit>) - Residual standard deviation
-
frmtmb-scales - Which scale each method reports
-
frm_compat() - Query the feature compatibility registry
-
frm_compat_features() - Feature metadata for the compatibility registry
-
frm_compat_rules() - Compatibility rules, before resolution
-
frm_periodogram() - Periodogram for a Whittle-likelihood fit
-
whittle() - Whittle likelihood for a periodogram response
-
frm_series_draw() - Draw a time series from a fitted spectrum
-
frmtmbfrmtmb-package - frmtmb: Formula-Based Regression Models via 'RTMB'
-
habit_prep - Forced-response habit data from Hardwick et al. (2019)
-
frm_hazard_reads() - Find
$reads of a partial-matching container