-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathREADME.Rmd
85 lines (68 loc) · 3.33 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
stopifnot(require(knitr))
options(width = 90)
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/",
out.width = "100%"
)
```
```{r, echo = FALSE}
version <- as.vector(read.dcf("DESCRIPTION")[, "Version"])
version <- gsub("-", ".", version)
```
# bayesnec <img src="man/figures/logo.png" width = 180 alt="bayesnec Logo" align="right" />
<!-- badges: start -->
[![Lifecycle: maturing](https://img.shields.io/badge/lifecycle-maturing-blue.svg)](https://lifecycle.r-lib.org/articles/stages.html)
[![R build status](https://github.com/open-AIMS/bayesnec/actions/workflows/R-CMD-check.yaml/badge.svg?branch=dev)](https://github.com/open-AIMS/bayesnec/actions)
[![Codecov test coverage](https://codecov.io/gh/open-aims/bayesnec/branch/master/graph/badge.svg)](https://app.codecov.io/gh/open-aims/bayesnec?branch=master)
![pkgdown](https://github.com/open-AIMS/bayesnec/workflows/pkgdown/badge.svg)
[![CRAN Version](https://www.r-pkg.org/badges/version/bayesnec)](https://cran.r-project.org/package=bayesnec)
[![Downloads](https://cranlogs.r-pkg.org/badges/bayesnec?color=brightgreen)](https://CRAN.R-project.org/package=bayesnec)
[![license](https://img.shields.io/badge/license-GPL--2-lightgrey.svg)](https://choosealicense.com/)
[![Ask Us Anything
\!](https://img.shields.io/badge/Ask%20us-anything-1abc9c.svg)](https://github.com/open-AIMS/bayesnec/issues/new)
![Open Source
Love](https://badges.frapsoft.com/os/v2/open-source.svg?v=103)
<!-- badges: end -->
## Overview
`bayesnec` is a toxicity estimate and No-Effect toxicity estimation package that uses
[`brms`](https://github.com/paul-buerkner/brms) to fit
concentration(dose)-response data using Bayesian methods for the purpose of
estimating both ECX values, but more particularly 'NEC' (see [Fox (2010)](doi:10.1016/j.ecoenv.2009.09.012),
'NSEC' (see [Fisher and Fox (2023)](10.1002/etc.5610)), and 'N(S)EC (see [Fisher et al. (2023)](10.1002/ieam.4809)). Please see `?bnec` for a
more detailed help file.
## Installation
To install the latest release version from CRAN use
```{r eval=FALSE}
install.packages("bayesnec")
```
The current development version can be downloaded from GitHub via
```{r eval=FALSE}
if (!requireNamespace("remotes")) {
install.packages("remotes")
}
remotes::install_github("open-aims/bayesnec", ref = "dev")
```
Because `bayesnec` is based on `brms` and [Stan](https://mc-stan.org/), a C++
compiler is required. The program
[Rtools](https://cran.r-project.org/bin/windows/Rtools/) comes with a C++
compiler for Windows. On Mac, you should install Xcode. See the prerequisites
section on this
[link](https://github.com/stan-dev/rstan/wiki/RStan-Getting-Started)
for further instructions on how to get the compilers running.
## Usage
Usage and further information about `bayesnec` can be seen on the [project
page](https://open-aims.github.io/bayesnec/) and the
[vignettes](https://open-aims.github.io/bayesnec/articles/). Help files for the
individual functions can be found on the
[reference page](https://open-aims.github.io/bayesnec/reference/).
## Further Information
`bayesnec` is provided by the
[Australian Institute of Marine Science](https://www.aims.gov.au/) under the
GPL-2 License ([GPL-2](https://opensource.org/license/gpl-2-0)).