# Bayesian Exposure-Response Analysis Tools

## Documentation for package ‘BayesERtools’ version 0.2.6

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

as_draws | Transform to 'draws' objects
as_draws.ermod | Transform to 'draws' objects
as_draws_array | Transform to 'draws' objects
as_draws_array.ermod | Transform to 'draws' objects
as_draws_df | Transform to 'draws' objects
as_draws_df.ermod | Transform to 'draws' objects
as_draws_list | Transform to 'draws' objects
as_draws_list.ermod | Transform to 'draws' objects
as_draws_matrix | Transform to 'draws' objects
as_draws_matrix.ermod | Transform to 'draws' objects
as_draws_rvars | Transform to 'draws' objects
as_draws_rvars.ermod | Transform to 'draws' objects
build_spec_coveff | Build specifications for covariate effect simulation/visualization
build_spec_coveff_one_variable | Customize specifications for covariate effect simulations/visualizations
calc_ersim_med_qi | Calculate median and quantile intervals from ersim object
coef.ermod | S3 methods for the classes 'ermod_*'
combine_er_components | Combine ER plot components
dev_ermod_bin | Develop linear ER model for binary or continuous endpoint
dev_ermod_bin_cov_sel | Perform covariate selection for linear ER model
dev_ermod_bin_emax | Develop Emax model for continuous and binary endpoint
dev_ermod_bin_emax_exp_sel | Exposure metrics selection for Emax models
dev_ermod_bin_exp_sel | Exposure metrics selection for linear ER models
dev_ermod_emax | Develop Emax model for continuous and binary endpoint
dev_ermod_emax_exp_sel | Exposure metrics selection for Emax models
dev_ermod_lin | Develop linear ER model for binary or continuous endpoint
dev_ermod_lin_cov_sel | Perform covariate selection for linear ER model
dev_ermod_lin_exp_sel | Exposure metrics selection for linear ER models
d_sim_binom_cov | Sample simulated data for exposure-response with binary endpoint.
d_sim_binom_cov_hgly2 | Sample simulated data for exposure-response with binary endpoint.
d_sim_emax | Sample simulated data for Emax exposure-response models with covariates.
d_sim_lin | Sample simulated data for exposure-response with continuous endpoint using linear model.
d_sim_placebo | Sample simulated data for Emax exposure-response models with covariates and placebo
edit_spec_coveff | Customize specifications for covariate effect simulations/visualizations
ermod_cov_sel_method | S3 methods for the classes 'ermod_bin_cov_sel'
ermod_exp_sel_method | S3 methods for the classes 'ermod_exp_sel'
ermod_method | S3 methods for the classes 'ermod_*'
ersim_method | S3 methods for the classes ersim_* and ersim_med_qi_*
eval_ermod | Evaluate exposure-response model prediction performance
extract_coef_exp_ci | Extract credible interval of the exposure coefficient
extract_data | Extract elements from S3 objects
extract_exp_sel_comp | Extract elements from S3 objects
extract_exp_sel_list_model | Extract elements from S3 objects
extract_kfold_loo | Run k-fold cross-validation
extract_method | Extract elements from S3 objects
extract_mod | Extract elements from S3 objects
extract_var_cov | Extract elements from S3 objects
extract_var_exposure | Extract elements from S3 objects
extract_var_resp | Extract elements from S3 objects
extract_var_selected | Extract elements from S3 objects
kfold | Run k-fold cross-validation
kfold.ermod | Run k-fold cross-validation
loo | Efficient approximate leave-one-out cross-validation (LOO)
loo.ermod | Efficient approximate leave-one-out cross-validation (LOO)
loo.ermod_bin_emax | Efficient approximate leave-one-out cross-validation (LOO)
loo.ermod_emax | Efficient approximate leave-one-out cross-validation (LOO)
plot.ermod_bin | S3 methods for the classes 'ermod_*'
plot.ermod_cov_sel | S3 methods for the classes 'ermod_bin_cov_sel'
plot.ermod_exp_sel | S3 methods for the classes 'ermod_exp_sel'
plot.ersim | S3 methods for the classes ersim_* and ersim_med_qi_*
plot.ersim_med_qi | S3 methods for the classes ersim_* and ersim_med_qi_*
plot_coveff | Visualize the covariate effects for ER model
plot_coveff.coveffsim | Visualize the covariate effects for ER model
plot_coveff.ermod | Visualize the covariate effects for ER model
plot_cov_sel | Plot variable selection performance
plot_er | Plot ER model simulations
plot_er.ermod | Plot ER model simulations
plot_er.ersim | Plot ER model simulations
plot_er.ersim_med_qi | Plot ER model simulations
plot_er_exp_sel | Plot exposure metric selection comparison
plot_er_gof | Default GOF plot for ER model
plot_submod_performance | Plot variable selection performance
plot_var_ranking | Plot variable selection performance
print.ermod | S3 methods for the classes 'ermod_*'
print.ermod_cov_sel | S3 methods for the classes 'ermod_bin_cov_sel'
print.ermod_exp_sel | S3 methods for the classes 'ermod_exp_sel'
print_coveff | Format the covariate effect simulation results for printing
prior_summary | Summarize the priors used for linear or linear logistic regression models
prior_summary.ermod | Summarize the priors used for linear or linear logistic regression models
p_direction | Probability of Direction (pd)
p_direction.ermod_bin | Probability of Direction (pd)
replace_spec_coveff | Customize specifications for covariate effect simulations/visualizations
sim_coveff | Perform simulation of covariate effects for ER model
sim_er | Simulate from ER model
sim_er_curve | Simulate from ER model at specified exposure values
sim_er_curve_marg | Calculate marginal expected response for specified exposure values
sim_er_new_exp | Simulate from ER model at specified exposure values
sim_er_new_exp_marg | Calculate marginal expected response for specified exposure values
summary.ermod | S3 methods for the classes 'ermod_*'