comparePlot-methods {RobAStBase}R Documentation

Compare - Plots

Description

Plots 2-4 influence curves to the same model.

Usage

comparePlot(obj1, obj2, ... )
## S4 method for signature 'IC, IC':
comparePlot(obj1, obj2, obj3 = NULL, obj4 = NULL, ... )

Arguments

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

Author(s)

Peter Ruckdeschel Peter.Ruckdeschel@itwm.fraunhofer.de

References

Kohl, M. (2005) Numerical Contributions to the Asymptotic Theory of Robustness. Bayreuth: Dissertation.

See Also

L2ParamFamily-class, IC-class, plot

Examples

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)
}

[Package RobAStBase version 0.1.1 Index]