add_your_own_pesticide {CalcThemAll.PRM} | R Documentation |
Add new pesticides to the pesticide_info table
Description
Add new pesticides to the pesticide_info table
Usage
add_your_own_pesticide(
pesticides,
relative_LORs,
pesticide_types,
distribution_types,
shape_locations = NA,
shape_location_2s = NA,
scales = NA,
scale_2s = NA,
weights = NA,
pesticide_info = CalcThemAll.PRM::pesticide_info
)
Arguments
pesticides |
A vector of pesticide names |
relative_LORs |
A vector of relative limit of reporting replacement values |
pesticide_types |
A vector of the new pesticide's types |
distribution_types |
A vector of the new pesticide's species sensitivity distribution types |
shape_locations |
A vector of shape/location values (if applicable, else put NA) |
shape_location_2s |
A vector of secondary shape/location values (if applicable, else put NA) |
scales |
A vector of scale values (if applicable, else put NA) |
scale_2s |
A vector of secondary scale values (if applicable, else put NA) |
weights |
A vector of weight values (if applicable, else put NA) |
pesticide_info |
A data set to add pesticides too |
Value
A data frame
Examples
new <- add_your_own_pesticide(pesticides = "Poison", relative_LORs = 0.023,
pesticide_types = "Poison", distribution_types = "Log-Normal", scales = 0.09,
shape_locations = 0.014)
multiple_new <- add_your_own_pesticide(pesticides = c("Poison", "Acid", "Sludge"),
relative_LORs = c(0.03, 0.01, 0.5), pesticide_types = c("Poison", "Acid", "Sludge"),
distribution_types = c("Log-Normal", "Log-Logistic Log-Logistic", "Burr Type III"),
scales = c(0.3, 0.002, 2),
scale_2s = c(NA, 0.04, NA), shape_locations = c(1, 0.07, 3),
shape_location_2s = c(NA, 0.14, 2.3), weights = c(NA, 0.08, NA))
[Package CalcThemAll.PRM version 1.1.1 Index]