plot.cdf {basicspace} | R Documentation |
plot.aldmck
reads an aldmck
object and plots the cumulative distribution
of the respondents and stimuli.
## S3 method for class 'cdf'
plot(x, align=NULL, xlim=c(-2,2), ...)
x |
an |
align |
integer, the x-axis location that stimuli names should be aligned to If set to NULL, it will attempt to guess a location. |
xlim |
vector of length 2, fed to the |
... |
other arguments to |
A plot of the empirical cumulative distribution of the respondent ideal points, along with the locations of the stimuli. If no self-placements were specified during estimation, no graphical plots will appear.
Keith Poole ktpoole@uga.edu
Howard Rosenthal hr31@nyu.edu
Jeffrey Lewis jblewis@ucla.edu
James Lo lojames@usc.edu
Royce Carroll rcarroll@rice.edu
'aldmck', 'LC1980', 'summary.aldmck', 'plot.aldmck'.
### Loads and scales the Liberal-Conservative scales from the 1980 NES.
data(LC1980)
result <- aldmck(data=LC1980, polarity=2, respondent=1, missing=c(0,8,9),verbose=TRUE)
summary(result)
par(ask=TRUE)
plot.AM(result,xlim=c(-1.5,1.5))
plot.cdf(result)