LD50_calc: Calculate concentrations of stressor that decrease growth...

Description Usage Arguments Value Examples

View source: R/LD50_calc.R

Description

Calculate concentrations of stressor that decrease growth rate by half (LD50)

Usage

1
LD50_calc(growth, stressor)

Arguments

growth

growth rate

stressor

stressor concentration

Value

data.frame containing values for upper and lower LD50

Examples

1
2
3
4
5
6
7
simulated_data <- x <- 1:100
a <- 10 ; b <- 50 ; c <- 0.1
gaussian_data <- data.frame(x=x,
                           y=a*exp(-((x-b)^2)/2*c^2)+rnorm(length(x)))

growth <- gaussian_data$y
stressor <- x

low-decarie/LD50 documentation built on May 3, 2019, 10:43 p.m.