Learn R Programming

oc (version 0.93)

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 class 'OCskree':
plot(x, main.title="Skree Plot", x.title="Dimension",
        y.title="Eigenvalue",\ldots)

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.

Value

  • A Skree plot, showing the first 20 eigenvalues.

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:
    #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