Learn R Programming

oc (version 0.93)

plot.OCobject: Optimal Classification Summary Plot

Description

plot.OCobject reads an Optimal Classification object in two user-specified dimensions and plots the coordinates, cutting lines, a Coombs mesh, and a Skree plot. For one-dimensional OCobject objects, it plots a one-dimensional coordinate plot along with a Skree plot.

Usage

## S3 method for class 'OCobject':
plot(x, dims=c(1,2), ...)

Arguments

x
an OCobject output object.
dims
a vector of length 2, specifying the two dimensions to be plotted.
...
other arguments do nothing and are not passed to any plot functions.

Value

  • A summary plot of an OCobject object.

See Also

'oc', 'plot.OCcoords', 'plot.OCskree', 'plot.OCangles', 'plot.OCcutlines'

Examples

Run this code
#This data file is the same as that obtained using:
    #data(sen90)
    #sen90oc<-oc(sen90,dims=2,polarity=c(7,2)) 

    data(sen90oc)
    summary(sen90oc)
    plot(sen90oc)

Run the code above in your browser using DataLab