voges_dixon: Helper function for outlier detection.

View source: R/outliers.R

voges_dixonR Documentation

Helper function for outlier detection.

Description

Wrapper for the Dixon test from outliers package.

Usage

voges_dixon(data, outlier.range = 3, alpha = 0.05, silent = FALSE)

Arguments

data

input data (List, dataframe or vector?)

outlier.range

This is only important for samples with 3 or less values. In this case the range of data (e.g. Range c(1,1.4,1.3) = 0.4) need to be at least outlier.range if an outlier test shoud happen. Normally outlier test for 3 or less values is not recommended. But this helps to get rid of clear outliers e.g. (2,2,30). My advice is to check the data also manually.

alpha

alpha for outlier testing (0.05 = 95% significance)

silent

should outliers be printed to output?

Value

returns a dataframe or list depending on the input.


LucasFVoges/DoubleqpcR documentation built on Feb. 19, 2024, 7:21 p.m.