Replace values from one vector in dataframe with other values, based on a condition in another vector, in R
I have a dataframe, “grp_wqdata, that is grouped by the vector “CHEMICAL_NAME”:
I have a dataframe, “grp_wqdata, that is grouped by the vector “CHEMICAL_NAME”: