hampel.test: Apply an Hampel's test on a data.frame

View source: R/utils-DF.R

hampel.testR Documentation

Apply an Hampel's test on a data.frame

Description

Apply an Hampel's test on a data.frame

Usage

hampel.test(DF, bool = TRUE, threshold = 5.2, ...)

Arguments

DF

a numeric data.frame

bool

logical; default=TRUE. Whether the result should be given as a

threshold

numeric. Default: 5.2 (expects a normal distribution)

...

additional parameters for stats::mad

Value

a result data.frame. If logical: TRUE means that the value passes the Hampel test for the given threshold. If numeric, values failing the test are set to 0


barzine/barzinePhdR documentation built on Nov. 23, 2024, 8:54 p.m.