level.set {XReg} | R Documentation |
level.set
This function gives the decision rule for a given threshold. It also tells how many observations are indicated by each rule
and gives the overall indicator of the observations indicated by the rule. Currently this function is only written for >= rules; however, with it
one should be able to specify the desired inequality
level.set(thresh, output,pred=F,xpred=NULL,lower=-Inf,upper=Inf)
thresh |
threshold or target output for rule x:f(x)>=thresh |
output |
data structure from XR regression function |
pred |
determine which observations are consistent with rule |
xpred |
if pred=T, then sent observations for which the rule should be applied |
lower |
lower bound for predictions |
upper |
upper bound for predictions |
a list containing:
cutpoints |
cutpoints corresponding to level thresh |
Michael LeBlanc mleblanc@fhcrc.org
## # see XReg