- x_i
the observations. Must be a matrix with d column and n lines (d the dimension and n the sample size)
- nh
the maximum number of PCO criterion evaluations during the golden section search.
The default value is 40. The golden section search stop once this value is reached or
if the tolerance is achieved, and return the middle of the interval.
- K_name
name of the kernel. Can be 'gaussian', 'epanechnikov',
or 'biweight'. The default value is 'gaussian'.
- binning
default value is FALSE, that is the function computes the exact PCO criterion.
If set to TRUE allows to use binning.
- nb
is the number of bins to use when binning is TRUE.
For multivariate x_i, nb corresponds to the number of bins per dimension. The default value is 32.
- tol
is the maximum authorized length of the interval which contains the optimal h
for univariate data. For multivariate data, it corresponds to the length of each hypercube axe.
The golden section search stop once this value is achieved or when nh is reached
and return the middle of the interval. Its default value is 10^(-6).
- adapt_nb_bin
is a boolean used for univariate x_i. If set to TRUE, authorises the function to increase
the number of bins if, with nb bins, the middle of the initial interval is not an admissible solution, that is
if the criterion at the middle is greater than the mean of the criterion at the bounds of the initial interval of search.
- nb_bin_vect
can be set to have a different number of bins on each dimension