Learn R Programming

oc (version 1.2.1)

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 OCobject
plot(x, dims=c(1,2), ...)

Value

A summary plot of an OCobject object.

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.

Author

Keith Poole ktpoole@uga.edu

Jeffrey Lewis jblewis@ucla.edu

James Lo lojames@usc.edu

Royce Carroll rcarroll@rice.edu

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:
    if (FALSE) {
    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