plot.aldmck_negative {basicspace} | R Documentation |
plot.aldmck_negative
reads an aldmck
object and plots the probability distribution
of the respondents and stimuli with negative weights.
## S3 method for class 'aldmck_negative'
plot(x, xlim=c(-2,2), ...)
x |
an |
xlim |
vector of length 2, fed to the |
... |
other arguments to |
A plot of the probability distribution of the respondent ideal points, along with the locations of the stimuli. If no negative weights exist, either because respondent self-placements are not specified, or because all weights are positive, a plot indicating this in text is given.
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.cdf', '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)
plot.aldmck_negative(result,xlim=c(-1.5,1.5))