comparePlot-methods {RobAStBase} | R Documentation |
Plots 2-4 influence curves to the same model.
comparePlot(obj1, obj2, ... ) ## S4 method for signature 'IC, IC': comparePlot(obj1, obj2, obj3 = NULL, obj4 = NULL, ... )
obj1 |
object of class "InfluenceCurve" |
obj2 |
object of class "InfluenceCurve" to be compared with obj1 |
obj3 |
optional: object of class "InfluenceCurve" to be compared with obj1 |
obj4 |
optional: object of class "InfluenceCurve" to be compared with obj1 |
... |
further arguments to be passed to plot |
Peter Ruckdeschel Peter.Ruckdeschel@itwm.fraunhofer.de
Kohl, M. (2005) Numerical Contributions to the Asymptotic Theory of Robustness. Bayreuth: Dissertation.
L2ParamFamily-class
, IC-class
, plot
if(require(ROptEst)){ N0 <- NormLocationScaleFamily(mean=0, sd=1) N0.Rob1 <- InfRobModel(center = N0, neighbor = ContNeighborhood(radius = 0.5)) IC1 <- optIC(model = N0, risk = asCov()) IC2 <- optIC(model = N0.Rob1, risk = asMSE()) comparePlot(IC1,IC2) }