Learn R Programming

modehunt (version 1.0.7)

preProcessX: Prepare data vector according to available information on support endpoints of f

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

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.

Value

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.