PRM_DT {CalcThemAll.PRM} | R Documentation |
PRM Data Table Function
Description
PRM Data Table Function
Usage
PRM_DT(PRM_data, fill_cols = NULL, colour_cols = NULL)
Arguments
PRM_data |
a data frame of either daily average or wet season PRM values |
fill_cols |
A vector of column names of pesticide groups to fill colour with corresponding PRM risk category |
colour_cols |
A vector of column names of pesticide groups to colour text with corresponding PRM risk category |
Value
a data table colour coded to PRM risk
Examples
Canto_pesticides_LOR_treated <- treat_LORs_all_data(raw_data = Canto_pesticides,
pesticide_info = CalcThemAll.PRM::pesticide_info)
Canto_daily_PRM <- calculate_daily_average_PRM(LOR_treated_data = Canto_pesticides_LOR_treated)
PRM_DT(PRM_data = Canto_daily_PRM, fill_cols = "Total PRM",
colour_cols = c("PSII Herbicide PRM", "Other Herbicide PRM", "Insecticide PRM"))
[Package CalcThemAll.PRM version 1.1.1 Index]