plot.pcops {cops}R Documentation

S3 plot method for p-cops objects

Description

S3 plot method for p-cops objects

Usage

## S3 method for class 'pcops'
plot(x, plot.type, main, asp = 1, ...)

Arguments

x

an object of class cops

plot.type

String indicating which type of plot to be produced: can be one of "confplot", "reachplot", "resplot", "transplot", "Shepard", "stressplot", "bubbleplot", "histogram" *see plot.smacofP, plot.smacofB and plot.copsc). Note that not all plots might be available for all losses.

main

the main title of the plot

asp

aspect ratio of x/y axis; defaults to 1; setting to 1 will lead to an accurate represenation of the fitted distances.

...

Further plot arguments passed: see 'plot.smacofP', 'plot.smacofB' and 'plot' for detailed information.

Details

See plot.smacofP

#@importFrom smacofx plot

Examples

dis<-as.matrix(smacof::kinshipdelta)
resl<-pcops(dis,loss="stress",lower=0.1,upper=5,minpts=2)
plot(resl,plot.type="confplot")
plot(resl,plot.type="reachplot")
plot(resl,plot.type="Shepard")
plot(resl,plot.type="transplot")
plot(resl,plot.type="stressplot")
plot(resl,plot.type="bubbleplot")
plot(resl,plot.type="histogram")

[Package cops version 1.11-3 Index]