Learn R Programming

oc (version 1.2.1)

plot.OCskree: Optimal Classification Skree Plot

Description

plot.skree is the function that takes an Optimal Classification object and plots a Skree plot. Skree plots show the dimensionality of the voting by showing the sizes of the eigenvalues.

Usage

# S3 method for OCskree
plot(x, main.title="Skree Plot", x.title="Dimension",
        y.title="Eigenvalue",...)

Value

A Skree plot, showing the first 20 eigenvalues.

Arguments

x

an OCobject output object.

main.title

string, Skree plot title.

x.title

string, x-axis label.

y.title

string, y-axis label.

...

other arguments to plot.

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.OCangles', 'plot.OCcutlines', 'plot.OCobject'

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.OCskree(sen90oc)

Run the code above in your browser using DataLab