Description Usage Arguments Value Note Author(s)

Generates weights from initial sample.

1 | ```
preProcess(x, xgrid = NULL)
``` |

`x` |
Vector of independent and identically distributed numbers, not necessarily unique. |

`xgrid` |
Parameter that governs the generation of weights: If |

`x` |
Vector of unique and sorted observations deduced from the input |

`w` |
Vector of corresponding weights, normalized to sum to one. |

`sig` |
Standard deviation of the inputed observations. This quantity is needed when computing the smoothed
log-concave density estimator via |

`n` |
Number of initial observations. |

This function is not intended to be invoked by the end user.

Kaspar Rufibach, kaspar.rufibach@gmail.com,

http://www.kasparrufibach.ch

Lutz Duembgen, duembgen@stat.unibe.ch,

http://www.imsv.unibe.ch/about_us/staff/prof_dr_duembgen_lutz/index_eng.html

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.