Learn R Programming

transx (version 0.0.1)

out_pt: Detect outliers with Percentiles

Description

Usage

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

Run this code
# NOT RUN {
x <- c(1, 3, -1, 5, 10, 100)
out_pt(x)

# }

Run the code above in your browser using DataLab