View source: R/cdisc_validate.R
| detect_outliers_zscore | R Documentation |
Internal function to detect potential outliers in numeric columns of both datasets using the z-score method. Values with |z| > 3 are flagged. Results are returned as advisory notes for the user.
detect_outliers_zscore(df1, df2, threshold = 3)
df1 |
First data frame (base). |
df2 |
Second data frame (compare). |
threshold |
Numeric z-score threshold (default 3). |
A data frame with columns: dataset, variable, row, value, zscore. Empty data frame if no outliers found.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.