Computes the proportion of observations in the excursion set from true function evaluations,
binned by the grid determined with xBins, yBins.
getPointProportion(pp, xBins, yBins, whichAbove, plt = FALSE)a matrix of dimension nPts x 2 with the true points locations in 2 dimensions.
numerical vector with the ordered breaks of the grid along the x axis
numerical vector with the ordered breaks of the grid along the y axis
boolean vector of dimension nPts, selects the points above
if not TRUE plots the grid, the points and the counts for each cell.
a list containing above, the counts of points in excursion, full the counts per cell of all points,
freq, the relative frequence.