plot.blackbox: Blackbox Coordinate Distribution Plot

Description Usage Arguments Value Author(s) See Also Examples

View source: R/basicspace.R

Description

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

Usage

1
2
## S3 method for class 'blackbox'
plot(x, ...)

Arguments

x

an blackbox output object.

...

other arguments to hist.

Value

A histogram of the estimated intercepts.

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

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
### 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

### This command conducts estimates, which we instead load using data()
# Issues1980_bb <- blackbox(Issues1980,missing=c(0,8,9),verbose=FALSE,dims=3,minscale=8)
data(Issues1980_bb)

plot(Issues1980_bb)

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