compute_risk_score {PesticideLoadIndicator} | R Documentation |
Calculates the sum of risk scores from a list of H-phrases and expands the table
Description
Calculates the sum of risk scores from a list of H-phrases and expands the table
Usage
compute_risk_score(table, var_name)
Arguments
table |
Dataframe with H-phrases on product level. |
var_name |
Name of the variable that contains the information (string) on H-phrases. For example "H317; H411" or "H410, H411". |
Value
Adds a variable indicating the sum of risk scores needed to compute the Pesticide Load Indicator Check national pesticide databases for information on product labels of pesticides (information on H-phrases of each product).
[Package PesticideLoadIndicator version 1.3.1 Index]