Description Usage Arguments Details Value Note Author(s)

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

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

`X.raw` |
Vector of observations. |

`lower` |
Lower support point of |

`upper` |
Upper support point of |

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

Sorted vector of (processed) observations.

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.

Kaspar Rufibach, kaspar.rufibach@gmail.com,

http://www.kasparrufibach.ch

Guenther Walther, gwalther@stanford.edu,

www-stat.stanford.edu/~gwalther

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.