plot.angles {wnominate}R Documentation

W-NOMINATE Cutting Line Angles Plot

Description

plot.angles reads a W-NOMINATE object and plots a histogram of the angles of the cutlines for two dimensions. plot.angles does not work for one-dimensional W-NOMINATE objects.

Usage

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

Arguments

x

a wnominate 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

'wnominate', 'plot.coords', 'plot.scree', 'plot.cutlines', 'plot.nomObject'

Examples

    #This data file is the same as that obtained using:
    #data(sen90)
    #sen90wnom<-wnominate(sen90,polarity=c(2,5))
    data(sen90wnom)

    summary(sen90wnom)
    plot.angles(sen90wnom)
    plot(sen90wnom)

[Package wnominate version 1.5 Index]