Overview

bayesnec fits concentration-response (dose-response) models by Bayesian methods through brms, and estimates effect concentrations (ECx), the no-effect concentration (NEC, see Fox 2010), the no-significant-effect concentration (NSEC, see Fisher and Fox 2023) and their model-averaged combination (N(S)EC, see Fisher et al. 2023). Please see ?bnec for a more detailed help file.

Installation

To install the latest release version from CRAN use

install.packages("bayesnec")

The current development version can be downloaded from GitHub via

if (!requireNamespace("remotes")) {
  install.packages("remotes")
}
remotes::install_github("open-aims/bayesnec", ref = "dev")

Because bayesnec is based on brms and Stan, a C++ compiler is required. The program Rtools comes with a C++ compiler for Windows. On Mac, you should install Xcode. See the prerequisites section on this link for further instructions on how to get the compilers running.

The Installation and setup article works through this in detail: the two brms back ends, the cmdstanr installation the vignettes are built with, and the failures most often met on Windows.

Usage

Usage and further information about bayesnec can be seen on the project page and the vignettes and articles. Help files for the individual functions can be found on the reference page.

Further Information

bayesnec is provided by the Australian Institute of Marine Science under the GPL-2 License (GPL-2).