plot.coords {wnominate}R Documentation

W-NOMINATE Coordinate Plot

Description

plot.coords reads a W-NOMINATE object in 2 user-specified dimensions and plots the coordinates of each member, applying separate colors and shapes to each party by default. A unit circle is included to emphasize the constraints on the W-NOMINATE coordinates, and options to select non-party attributes of legislators are included. For a 1D W-WNOMINATE object, W-NOMINATE scores are plotted against their ranks.

Usage

plot.coords(x, main.title="W-NOMINATE Coordinates",
    d1.title="First Dimension", d2.title="Second Dimension", dims=c(1,2),
    plotBy="party", color=TRUE, shape=TRUE, cutline=NULL, Legend=TRUE,
    legend.x=0.8, legend.y=1, ...)            

Arguments

x a wnominate output object.
main.title string, coordinate plot title.
d1.title string, x-axis label.
d2.title string, y-axis label.
dims vector of length 2, specifying the dimensions to be plotted.
plotBy string, name of a variable in nomObject\$data. plot.coords will plot coordinates using this variable as a selector.
color logical, marks different groups specified by plotBy using different colors if TRUE.
shape logical, marks different groups specified by plotBy using different shapes if TRUE.
cutline vector, selects roll calls by row number for which a cutting line is desired.
Legend logical, include a generic legend.
legend.x numeric, corresponds to the 'x' argument of legend().
legend.y numeric, corresponds to the 'y' argument of legend().
... other arguments to symbols.

Value

A coordinate plot.

Author(s)

Keith Poole kpoole@ucsd.edu

Jeffrey Lewis jblewis@ucla.edu

James Lo jameslo@ucla.edu

Royce Carroll rcarroll@ucsd.edu

See Also

'wnominate', 'plot.skree', 'plot.cutlines', 'plot.angles', '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.coords(sen90wnom)
    plot(sen90wnom)

[Package wnominate version 0.94 Index]