| cutoff-class {RobAStBase} | R Documentation |
Cutoff class for distance-distance plots
Description
Class of methods to determine cutoff point for distance-distance plots; used to derive other cutoff methods later by method dispatch.
Objects from the Class
Objects could in principle be created by calls of the form new("cutoff", ...).
More frequently they are created via the generating function
cutoff, respectively via the helper functions
cutoff.sememp and cutoff.chisq.
Slots
name:object of class
"character"; defaults to"empirical"in prototype;fct:an object of of class
"function"; for this class layer, this function must only have one argumentdata(which may but need not be used to determine the cutoff point empirically); in derived classes this restriction could be dropped, if corresponding special methods forddPlotare derived. Defaults tofunction(data) quantile(data).cutoff.quantile:Object of class
"numeric": a probability (in [0,1]) to determine the respective quantile (empirical or theoretical) to plot the cutoff line; defaults to0.95in prototype;
Methods
- cutoff.quantile
signature(object = "cutoff"): accessor function for slotcutoff.quantile.- cutoff.quantile<-
signature(object = "cutoff"): replacement function for slotcutoff.quantile.- fct
signature(object = "cutoff"): accessor function for slotfct.- name
signature(object = "cutoff"): accessor function for slotname.
Author(s)
Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de
See Also
Examples
cutoff()