plot.OCangles: Optimal Classification Cutting Line Angles Plot

View source: R/methods.R

plot.OCanglesR Documentation

Optimal Classification Cutting Line Angles Plot

Description

plot.angles reads an Optimal Classification object and plots a histogram of the angles of the cutlines for two dimensions. plot.angles does not work for one-dimensional OCobject objects.

Usage

## S3 method for class 'OCangles'
plot(x, main.title="Cutting Line Angles",
        x.title="Angle in Degrees", y.title="Count",
        dims=c(1,2),...)

Arguments

x

an OCobject output object.

main.title

string, coordinate plot title.

x.title

string, x-axis label.

y.title

string, y-axis label.

dims

vector of length 2, specifying the dimensions to be plotted.

...

other arguments to hist.

Value

A cutting line angle plot.

Author(s)

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

Examples

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

    data(sen90oc)
    summary(sen90oc)
    plot.OCangles(sen90oc)

oc documentation built on Feb. 16, 2023, 8:17 p.m.