out_pt: Detect outliers with Percentiles

Description Usage Arguments Examples

View source: R/04-outliers.R

Description

Maturing lifecycle

Usage

1
out_pt(x, pt_low = 0.1, pt_high = 0.9, fill = NA)

Arguments

x

[univariate vector]

Univariate vector, numeric or ts object with only one dimension.

pt_low

the lowest quantile

pt_high

the highest quantile

fill

[numeric or function: NA]

Numeric value(s) or function used to fill observations.

Examples

1
2
x <- c(1, 3, -1, 5, 10, 100)
out_pt(x)

kvasilopoulos/transx documentation built on Jan. 26, 2021, 6:14 p.m.