An object of class probability
, calculated by the Pr
or tailPr
functions, holds the probabilities for all possible combinations of values of a set of joint variates Y
conditional on a set of joint variates X
. In some cases one may wish to exclude some of the values of the Y
or X
variates. For instance Y
in the probability-class object could include the variate "age" with values from 18 to 100, and one may want to retain the values from 60 to 80.
Usage
# S3 method for class 'probability'
subset(x, subset)