View source: R/library--data_prep--filter_tools--outlier_tools.R
flagOutliers | R Documentation |
Create column with Boolean based on a threshold
flagOutliers(DF, threshold, col, FlaggedOutlier = FlaggedOutlier)
DF |
Dataframe containing Column column ranked_quantile_data |
threshold |
a numeric used to flag if its an outlier |
col |
column being flagged based on threshold |
FlaggedOutlier |
name of flag column |
DF Dataframe with the extra column of if its flagged an outlier
data(Example_data, package = "Covid19Wastewater")
Example_data$site = "Madison"
df_data <- computeJumps(Example_data)
ranked_data <- rankJumps(df_data)
ranked_quantile_data <- computeRankQuantiles(ranked_data)
flagOutliers(ranked_quantile_data, 9, MessureRank, FlaggedOutlier)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.