preProcessX: Prepare data vector according to available information on...

Description Usage Arguments Details Value Note Author(s)

View source: R/preProcessX.r

Description

Preprocesses the initial data vector X.raw according to whether the upper and/or lower endpoint of the support of f is known.

Usage

1
preProcessX(X.raw, lower = -Inf, upper = Inf)

Arguments

X.raw

Vector of observations.

lower

Lower support point of f, if known.

upper

Upper support point of f, if known.

Details

Depending whether lower and upper are known, the vector of raw observations X.raw is supplemented by lower and/or upper and finally sorted.

Value

Sorted vector of (processed) observations.

Note

This function is called by modeHunting, modeHuntingApprox, and modeHuntingBlock.

This function was derived from MatLab code provided on Lutz Duembgen's webpage,
http://www.staff.unibe.ch/duembgen.

Author(s)

Kaspar Rufibach, kaspar.rufibach@gmail.com,
http://www.kasparrufibach.ch

Guenther Walther, gwalther@stanford.edu,
www-stat.stanford.edu/~gwalther


modehunt documentation built on May 2, 2019, 3:31 a.m.