Gamma_Formula: Gamma CDF Equation Formula

View source: R/Gamma_Formula.R

Gamma_FormulaR Documentation

Gamma CDF Equation Formula

Description

Gamma CDF Equation Formula

Usage

Gamma_Formula(concentration, shape_location, scale)

Arguments

concentration

The vector of concentration values for a selected pesticide, that has a Gamma shaped species sensitivity distribution, to run the equation on.

shape_location

The k/shape value for the Gamma equation for the selected pesticide. These can be found in the "pesticide_info" data frame provided in this package. If you are including other pesticides you will need to append them with their respective distribution variables to the "pesticide_info" table.

scale

The scale/theta value for the Gamma equation for the selected pesticide. These can be found in the "pesticide_info" data frame provided in this package. If you are including other pesticides you will need to append them with their respective distribution variables to the "pesticide_info" table.

Value

a numeric vector

Examples

gamma_pesticide_concentrations <- c(0.000000001, 0.5, 2.7, 11)
Gamma_Formula(concentration = gamma_pesticide_concentrations,
shape_location = 0.23, scale = 1.3)

CalcThemAll.PRM documentation built on May 29, 2024, 5:39 a.m.