Description Usage Arguments Value Examples
View source: R/replace_outliers.R
Replace outliers in the variable with one of summary statistic for that variable or for a grouped by category summary statistic
1 2  | replace_outliers(data, group_var, target_var, group,
  replacement_stat = "median")
 | 
data | 
 Data frame from which to calculate the replacement number.  | 
group_var | 
 Variable for grouping.  | 
target_var | 
 Variable in which outliers are to be replaced.  | 
group | 
 Group or category for which to calculate the replacement number.  | 
replacement_stat | 
 Which summary statistic to use. "Median" by default.  | 
Single number, summary statistic.
1  | group_median <- replace_outliers(ad_metrics, 96)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.