Learn R Programming

xps (version 1.32.0)

quantileFilter-methods: Quantile Filter

Description

This method initializes the Quantile Filter. The Quantile Filter flags all rows with: flag = (quantile[high]/quantile[low] >= cutoff)

Usage

quantileFilter(object) quantileFilter(object, value)<-

Arguments

object
object of class PreFilter.
value
numeric vector c(cutoff, loquantile, hiquantile).

Value

An initialized PreFilter object.

Details

The method quantileFilter initializes the following parameters:
cutoff:
the cutoff level for the filter.
loquantile: value for low quantile (default is loquantile=0.05).

Examples

Run this code
prefltr <- PreFilter()
quantileFilter(prefltr) <- c(3.0, 0.05, 0.95)
str(prefltr)

Run the code above in your browser using DataLab