outlier_impact: outlier_impact

Description Usage Arguments Value See Also Examples

View source: R/outlier_impact.R

Description

Create data frame with outliers and summary statistics for each variable

Usage

1
outlier_impact(df, x = 2.5)

Arguments

df

data frame with ID as first column

x

number of standard deviations away from the mean to qualify as an outlier

Value

data frame consisting of summary statistics for the input dataframe and potential dataframe if outliers were to be removed at that threshold

See Also

Other summary functions: chisq_tests, correlations, freq_tables, get_uniq, sample_size

Other continuous variable functions: box_plot, correlations, hist_fun, multi_plot, qq_fun, qq_plot, remove_outliers

Examples

1
2
3
require(NHANES)
data(NHANES)
outlier_impact(get_continuous(NHANES), x=3)

HallLab/clarite documentation built on Oct. 27, 2020, 6:27 p.m.