Learn R Programming

basicspace (version 0.13)

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
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)
stimuli(result)

Run the code above in your browser using DataLab