plot.cutlines {wnominate} | R Documentation |
plot.cutlines
reads a W-NOMINATE object and plots the cutting line of a
specified proportion of all votes along two user-specified dimensions. The
default is to plot 50 cutting lines. This is also known as a Coombs
mesh. A unit circle is included to emphasize the constraints on the W-NOMINATE
coordinates. Only cutlines that are constrained to have midpoints lying in a
unit circle are included. plot.cutlines
does not work for 1D W-NOMINATE objects.
plot.cutlines(x, main.title="Cutting Lines", d1.title="First Dimension", d2.title="Second Dimension", lines=50,dims=c(1,2),lwd=2,...)
x |
a wnominate output object. |
main.title |
string, coordinate plot title. |
d1.title |
string, x-axis label. |
d2.title |
string, y-axis label. |
lines |
numeric, number of non-constrained cutlines to be plotted. If this number exceeds to total number of cutlines, then all cutlines are plotted. |
dims |
numeric vector of length 2, specifying dimensions to be plotted. |
lwd |
numeric, line width. |
... |
other arguments to symbols . |
A Coombs mesh.
Keith Poole kpoole@ucsd.edu
Jeffrey Lewis jblewis@ucla.edu
James Lo jameslo@ucla.edu
Royce Carroll rcarroll@ucsd.edu
'wnominate', 'plot.coords', 'plot.skree', 'plot.angles', 'plot.nomObject'
#This data file is the same as that obtained using: #data(sen90) #sen90wnom<-wnominate(sen90,polarity=c(2,5)) data(sen90wnom) summary(sen90wnom) plot.cutlines(sen90wnom) plot(sen90wnom)