Learn R Programming

CalcThemAll.PRM (version 1.1.1)

Gamma_Formula: Gamma CDF Equation Formula

Description

Gamma CDF Equation Formula

Usage

Gamma_Formula(concentration, shape_location, scale)

Value

a numeric vector

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.

Examples

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

Run the code above in your browser using DataLab