rm.outlier: Remove Outliers in Data Frame

Description Usage Arguments Value

Description

Removes outliers in a given data frame. Outliers can be remove within or across subjects.

Usage

1
2
rm.outlier(data, columns, within_subjects = FALSE, wid = NULL,
  median = FALSE, sd_times = 3, print = FALSE)

Arguments

data

The data frame

columns

Dependent variables

within_subjects

Remove outlier within subjects or overall subjects?

wid

Subject identifier variable

median

Should the outliers be identified via standard deviation or via median (boxplot)?

sd_times

Below/above how many standard deviations from the mean is a value considered as an outlier?

print

Should the proportion of outliers in the data be printed?

Value

Data frame with removed outliers (indicated as NA)


thomas-hinterecker/Ragbu documentation built on May 8, 2019, 9:46 a.m.