All functions

alga

Marine microalgal growth inhibition data with censored cell counts

amend()

Amends an existing bayesmanecfit or bayesnecfit object

amend(<bayesnechurdlefit>)

Adds or drops models from both components of a bayesnechurdlefit

autoplot(<bayesnecfit>) autoplot(<bayesmanecfit>) autoplot(<bayesnecgroupfit>) autoplot(<bayesnecjointfit>)

bayesnec standard ggplot2 plotting method

autoplot(<bayesnechurdlefit>)

Creates a ggplot2 plot of a bayesnechurdlefit

bayesmanecfit-class bayesmanecfit

Class bayesmanecfit of models fitted with the brms package

bayesnec-package bayesnec

The 'bayesnec' package.

bayesnecfit-class bayesnecfit

Class bayesnecfit of models fitted with the brms package

bayesnecformula()

Set up a model formula for use in bayesnec

bayesnecgroupfit-class bayesnecgroupfit

Class bayesnecgroupfit of models fitted separately at each level of a factor

bayesnechurdlefit

Class bayesnechurdlefit of models fitted with bnec_hurdle

bayesnecjointfit-class bayesnecjointfit

Class bayesnecjointfit of one model fitted across the levels of a factor

best_crossed()

Best crossed model combination from a factorised hurdle fit

bnec()

bnec

bnec_group()

Fit a concentration-response model separately at each level of a factor

bnec_hurdle()

Fit a factorised hurdle (or zero-inflated) concentration-response model

bnec_joint()

Refit a factorised model as a single joint fit

bnec_joint(<bayesnecfit>) bnec_joint(<bayesmanecfit>) bnec_joint(<bayesnecjointfit>)

Refuse a joint refit without separate level fits

bnec_newdata()

bnec_newdata

bnec_newdata(<bayesnecgroupfit>)

Predictor grids for a grouped fit

bnec_newdata(<bayesnechurdlefit>)

Predictor grid for a bayesnechurdlefit

bnec_record()

What bnec() did to your request before fitting

bnec_version()

The installation of bayesnec that fitted an object

bnecfit-class bnecfit

Class bnecfit of models fitted with function bnec

c(<bayesnecfit>) c(<bayesmanecfit>)

Combine an ordinary fit or model set with other ordinary fits

c(<bayesnecgroupfit>)

Combine grouped fits level by level

c(<bayesnechurdlefit>)

Combines the model sets of several bayesnechurdlefit objects

c(<bayesnecjointfit>) `+`(<bayesnecjointfit>)

Refuse combination of joint refits

c(<bnecfit>)

Concatenate multiple bnecfit objects into one single bayesmanecfit object containing Bayesian model averaging statistics.

check_chains()

Checking chain convergence

check_chains(<bayesnecgroupfit>)

Chain plots for a grouped fit

check_chains(<bayesnechurdlefit>)

Chain plots for both components of a bayesnechurdlefit

check_fit() print(<checkfit_group>) plot(<checkfit_group>)

Check a fit against the data it was fitted to

check_formula()

Check if input model formula is appropriate to use with bayesnec

check_formula(<bayesnecfit>) check_formula(<bayesmanecfit>) check_formula(<bayesnecgroupfit>) check_formula(<bayesnechurdlefit>) check_formula(<bayesnecjointfit>)

Check formulas stored in fitted objects

check_priors()

Plots the prior and posterior parameter probability densities from an object of class bayesnecfit or bayesmanecfit.

check_priors(<bayesnecgroupfit>)

Prior and posterior plots for a grouped fit

check_priors(<bayesnechurdlefit>)

Prior checks for both components of a bayesnechurdlefit

check_sampling()

Sampler diagnostics for every candidate model

compare_estimates()

compare_estimates

compare_fitted()

compare_fitted

compare_posterior()

compare_posterior

coral_colour

Coral colour score under diuron and three climate scenarios

coral_pam

Coral photosynthetic yield under diuron and three climate scenarios

crossed_group_weights()

Crossed model weights across the levels of a factor

crossed_weights()

Crossed model weights for a bayesnechurdlefit

curve_params()

Curve parameter estimates from a fitted model

dispersion()

Posterior dispersion

ecnsec()

Extracts the percent effect associated with a predicted NSEC value from an object of class bayesnecfit or bayesmanecfit.

ecnsec(<bayesnecfit>) ecnsec(<bayesmanecfit>)

ECNSEC for an ordinary fit

ecnsec(<bayesnechurdlefit>)

Extracts the percent effect at each draw's own NSEC from a bayesnechurdlefit

ecnsec(<bayesnecjointlevel>)

ECNSEC draws or summaries for one joint level

ecx()

Extracts the predicted ECx value

ecx(<bayesnechurdlefit>)

Extracts the predicted ECx value from a bayesnechurdlefit

ecx(<bayesnecjointlevel>)

ECx draws or summaries for one joint level

epx()

Percent effect at a stated concentration

exceedance()

Probability that a toxicity estimate exceeds a threshold

exceedance(<bayesnecfit>) exceedance(<bayesmanecfit>) exceedance(<bayesnechurdlefit>)

Exceedance probabilities for an ordinary fit

expand_manec()

Extracts a range of statistics from a list of prebayesnecfit objects.

expand_nec()

Extracts a range of statistics from a prebayesnecfit object.

failed_models()

Models that failed to fit

failed_models(<bayesnecfit>) failed_models(<bayesmanecfit>) failed_models(<bayesnecjointfit>)

Failed candidate models of a fit

fitted(<bayesnecfit>) fitted(<bayesmanecfit>)

Generates mean posterior linear predictions for objects fitted by bnec

fitted(<bayesnecgroupfit>)

Fitted summaries or draws for each grouped level

fitted(<bayesnechurdlefit>)

Generates mean posterior predictions for a bayesnechurdlefit

fitted(<bayesnecjointlevel>)

Refuse fitted values from an internal joint level

formula(<bayesnecfit>) formula(<bayesmanecfit>)

Retrieve formulas from models fitted by bnec

formula(<bayesnecgroupfit>)

Formulas fitted at each grouped level

formula(<bayesnechurdlefit>)

Formulas of both hurdle components

get_priors()

Priors for a bayesnec model

get_priors(<bayesnecgroupfit>)

Priors used at each grouped level

ggbnec_data()

Creates the data.frame for plotting with autoplot.

ggbnec_data(<bayesnecgroupfit>)

Creates the data.frame for plotting a grouped set of fits

ggbnec_data(<bayesnechurdlefit>)

Data underlying a bayesnechurdlefit plot

ggbnec_data(<bayesnecjointfit>)

Creates the data.frame for plotting a joint refit

group_level_sd()

Group-level standard deviations of each equation

herbicide

Herbicide phytotoxicity data

is_manecsummary()

Checks if argument is a manecsummary object

is_necsummary()

Checks if argument is a necsummary object

kfold_combine()

Combine separately computed folds

kfold_groups()

Exact K-fold cross-validation over grouping levels

kfold_weights()

Weight a model set by exact K-fold scores

lum31

Bioluminescent bacterial toxicity data with floored luminescence readings

make_brmsformula()

Expose the final brmsformula

manec_example

Example bayesmanecfit object

manecsummary-class manecsummary

Class manecsummary of models fitted with the brms package

model.frame(<bayesnecfit>) model.frame(<bayesmanecfit>) model.frame(<bayesnecformula>)

Model.frame methods in bayesnec.

model.frame(<bayesnecgroupfit>)

Model frames fitted at each grouped level

model.frame(<bayesnechurdlefit>)

Model frames of both components of a bayesnechurdlefit

models()

models

nassarius

Chronic snail toxicity data with mortality

nec()

Extracts the predicted NEC value as desired from an object of class bayesnecfit or bayesmanecfit.

nec(<bayesnechurdlefit>)

Extracts the predicted NEC value from a bayesnechurdlefit

nec(<bayesnecjointlevel>)

NEC draws or summaries for one joint level

nec_data

Example data of non-linear decay

necsummary-class necsummary

Class necsummary of models fitted with the brms package

nsec()

Extracts the predicted NSEC value as desired from an object of class bayesnecfit or bayesmanecfit.

nsec(<bayesnechurdlefit>)

Extracts the predicted NSEC value from a bayesnechurdlefit

nsec(<bayesnecjointlevel>)

NSEC draws or summaries for one joint level

plot(<bayesnecfit>) plot(<bayesmanecfit>)

Generates a plot for objects fitted by bnec

plot(<bayesnechurdlefit>)

Plots a bayesnechurdlefit

plot(<checkfit>)

Plot a check_fit table

`+`(<bayesnecfit>) `+`(<bayesmanecfit>)

Add an ordinary fit to another ordinary fit or model set

`+`(<bayesnecgroupfit>)

Combine two grouped fits level by level

`+`(<bayesnechurdlefit>)

Combine two hurdle fits

`+`(<bnecfit>)

"Add" multiple bnecfit objects into one single bayesmanecfit object containing Bayesian model averaging statistics.

posterior_epred(<bayesnecfit>) posterior_epred(<bayesmanecfit>)

Generates posterior linear predictions for objects fitted by bnec

posterior_epred(<bayesnecgroupfit>)

Expected posterior draws for each grouped level

posterior_epred(<bayesnechurdlefit>)

Generates posterior predictions for a bayesnechurdlefit

posterior_predict(<bayesnecfit>) posterior_predict(<bayesmanecfit>)

Generates posterior predictions for objects fitted by bnec

posterior_predict(<bayesnecgroupfit>)

Posterior predictive draws for each grouped level

posterior_predict(<bayesnechurdlefit>)

Generates posterior draws of the response for a bayesnechurdlefit

pp_check(<bayesnecfit>) pp_check(<bayesmanecfit>) pp_check(<bayesnechurdlefit>)

Posterior predictive checks for bayesnec fits

pp_check(<bayesnecgroupfit>)

Posterior predictive checks for a grouped fit

prebayesnecfit-class prebayesnecfit

Class prebayesnecfit of models fitted with the brms package

predict(<bayesnecfit>) predict(<bayesmanecfit>)

Generates mean posterior predictions for objects fitted by bnec

predict(<bayesnecgroupfit>)

Predictions for each grouped level

predict(<bayesnechurdlefit>)

Generates posterior predictions for a bayesnechurdlefit

print(<bayesnecfit>) print(<bayesmanecfit>)

Prints a summary for objects fitted by bnec

pull_best()

The highest-weighted model of a fitted set

pull_best(<bayesnecgroupfit>)

Highest-weighted fit at each grouped level

pull_brmsfit()

Extract and object of class brmsfit from bayesnecfit or bayesmanecfit.

pull_brmsfit(<bayesnecgroupfit>)

Brms fits for a grouped fit

pull_brmsfit(<bayesnechurdlefit>)

Component brmsfit objects of a bayesnechurdlefit

pull_out()

pull_out

pull_prior()

pull_prior

rhat(<bayesnecfit>) rhat(<bayesmanecfit>)

Extract Diagnostic Quantities of 'brms' Models

rhat(<bayesnecgroupfit>)

Rhat diagnostics for a grouped fit

rhat(<bayesnechurdlefit>)

Rhat values for both components of a bayesnechurdlefit

sample_priors()

sample_priors

screen_models()

Drop candidate models that failed the sampler diagnostics

show_params()

show_params

step()

step

summary(<bayesnecfit>) summary(<bayesmanecfit>)

Generates a summary for objects fitted by bnec

summary(<bayesnechurdlefit>)

Summary of a bayesnechurdlefit

update(<bayesnecfit>) update(<bayesmanecfit>)

Refit a single bayesnecfit

update(<bayesnecgroupfit>)

Refit every grouped level

update(<bayesnechurdlefit>)

Updates both components of a bayesnechurdlefit

update(<bnecfit>)

Update an object of class bnecfit as fitted by function bnec.