preProcess(x, xgrid = NULL)xgrid = NULL a new sample
of unique observations is generated with corresponding vector of weights. If xgrid is
a positive number, observations are binned in a grid with x according to the specification
given by xgrid.evaluateLogConDens.