Learn R Programming

basicspace (version 0.24)

individuals: Extraction function for scaled individuals

Description

individuals is a convenience function to extract the individual/respondent parameters from an aldmck, blackbox, or blackbt object.

Usage

individuals(object)

Arguments

object

an aldmck, blackbox, or blackbt output object.

Value

The individual parameters of the estimated output, which can also be recovered as object$individuals (for blackbox or blackbt objects) or object$respondents (for aldmck objects). Please refer to the documentation of aldmck, blackbox, or blackbox_transpose for specifics.

See Also

'aldmck', 'blackbox', 'blackbox_transpose'.

Examples

Run this code
# NOT RUN {
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)

individuals(Issues1980_bb)
# }

Run the code above in your browser using DataLab