Learn R Programming

basicspace (version 0.13)

plot.blackbox: Blackbox Coordinate Distribution Plot

Description

plot.blackbox reads an blackbox object and plots a histogram of the estimated intercepts.

Usage

## S3 method for class 'blackbox':
plot(x, \ldots)

Arguments

x
an blackbox output object.
...
other arguments to hist.

Value

  • A histogram of the estimated intercepts.

See Also

'Issues1980', 'summary.blackbox', 'plot.blackbox'.

Examples

Run this code
### Loads issue scales from the 1980 NES.
data(Issues1980)
Issues1980[Issues1980[,"abortion1"]==7,"abortion1"] <- 8	#missing recode
Issues1980[Issues1980[,"abortion2"]==7,"abortion2"] <- 8	#missing recode
result <- blackbox(Issues1980,missing=c(0,8,9),verbose=FALSE,dims=3,minscale=8)
plot(result)

Run the code above in your browser using DataLab