censor_data | R Documentation |
This function deals with censored data as described in the white paper "Use of Censored Data" from 5/11/2018 When the QL > criteria value, 1/2 the value of the criteria is substituted for any sample reported as censored When the QL < Criteria value, 1/2 the QL value will be substituted Samples greater than the Max QL, use QL value Input is a dataframe Adds a column named Result_cen for the value to use
censor_data(
df,
result_col = IRResultNWQSunit,
qualifier_col = Result_Operator,
criteria_col = crit
)
df |
dataframe to modify. |
result_col |
column in dataframe with the result to be compared against. Defaults to IRResultNWQSunit |
qualifier_col |
column in dataframe for the qualifier. Defaults to Result_Operator |
criteria_col |
column in dataframe with criteria value. Defaults to crit |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.