getPointProportion {profExtrema} | R Documentation |
Obtain proportion of true observations in excursion set
Description
Computes the proportion of observations in the excursion set from true function evaluations,
binned by the grid determined with xBins
, yBins
.
Usage
getPointProportion(pp, xBins, yBins, whichAbove, plt = FALSE)
Arguments
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 |
Value
a list containing above
, the counts of points in excursion, full
the counts per cell of all points,
freq
, the relative frequence.
Author(s)
Dario Azzimonti
[Package profExtrema version 0.2.1 Index]