Matrix of location-bandwidth points \((u, h)\)
that remains after deletions, the i-th row gset[i,]
corresponds to the i-th point \((u,h)\).
bws
Vector of bandwidths (after deletions).
lens
Vector of length = length(bws), lens[i] gives
the number of locations in the grid for
the i-th bandwidth level.
gtype
Type of grid that is used, either 'default' or
'non-default'.
gset_full
Matrix of all location-bandwidth pairs \((u, h)\)
including deleted ones.
pos_full
Logical vector indicating which points \((u, h)\)
have been deleted.
Arguments
t
Sample size.
u_grid
Vector of location points in the unit interval
\([0,1]\). If NULL, a default grid is used.
h_grid
Vector of bandwidths, each bandwidth is supposed to lie
in \((0, 0.5)\). If NULL, a default grid is used.
deletions
Logical vector of the length len(u.grid) * len(h.grid).
Each element is either TRUE, which means that
the corresponding location-bandwidth point \((u, h)\)
is NOT deleted from the grid, or FALSE, which means that
the corresponding location-bandwidth point \((u, h)\)
IS deleted from the grid. Default is NULL
in which case nothing is deleted.
See vignette for the use.