Learn R Programming

basicspace (version 0.24)

stimuli: Stimulus extraction function

Description

stimuli is a convenience function to extract the stimulus parameters from an aldmck, blackbox, or blackbt object.

Usage

stimuli(object)

Arguments

object

an aldmck, blackbox, or blackbt output object.

Value

The stimuli of the estimated output, which can also be recovered as object$stimuli. 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)

stimuli(Issues1980_bb)
# }

Run the code above in your browser using DataLab