TADA_RunKeyFlagFunctions | R Documentation |
This is a shortcut function to run all of the most important flagging functions on a TADA dataset. See ?function documentation for TADA_FlagResultUnit, TADA_FlagFraction, TADA_FindQCActivities, TADA_FlagMeasureQualifierCode, and TADA_FlagSpeciation for more information.
TADA_RunKeyFlagFunctions(.data, clean = TRUE)
.data |
A TADA dataframe. |
clean |
Boolean. Determines whether to keep the suspect rows (or not). Defaults to TRUE. |
A TADA dataframe with the following flagging columns: TADA.ResultUnit.Flag, TADA.MethodSpeciation.Flag, TADA.SampleFraction.Flag, TADA.MeasureQualifierCode.Flag and TADA.ActivityType.Flag.
# Run flagging functions but keep all results
keep_all <- TADA_RunKeyFlagFunctions(Data_6Tribes_5y, clean = FALSE)
# Run flagging functions and remove and suspect rows
remove_suspect <- TADA_RunKeyFlagFunctions(Data_6Tribes_5y, clean = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.