plot.aldmck_positive: Aldrich-McKelvey Positive Coordinate Distribution Plot

Description Usage Arguments Value Author(s) See Also Examples

View source: R/basicspace.R

Description

plot.aldmck_positive reads an aldmck object and plots the probability distribution of the respondents and stimuli with positive weights.

Usage

1
2
## S3 method for class 'aldmck_positive'
plot(x, xlim=c(-2,2), ...)

Arguments

x

an aldmck output object.

xlim

vector of length 2, fed to the plot function as the xlim argument, which sets the minimum and maximum range of the x-axis.

...

other arguments to plot.

Value

A plot of the probability distribution of the respondent ideal points, along with the locations of the stimuli. If no weights exist because respondent self-placements are not specified, a plot indicating this in text is given.

Author(s)

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

See Also

'aldmck', 'LC1980', 'summary.aldmck', 'plot.cdf', 'plot.aldmck'

Examples

1
2
3
4
5
### 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_positive(result,xlim=c(-1.5,1.5))

basicspace documentation built on Jan. 11, 2020, 9:32 a.m.