getPointProportion {profExtrema} | R Documentation |
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)
pp |
a matrix of dimension nPts x 2 with the true points locations in 2 dimensions. |
xBins |
numerical vector with the ordered breaks of the grid along the x axis |
yBins |
numerical vector with the ordered breaks of the grid along the y axis |
whichAbove |
boolean vector of dimension nPts, selects the points above |
plt |
if not |
a list containing above
, the counts of points in excursion, full
the counts per cell of all points,
freq
, the relative frequence.
Dario Azzimonti