id_extract,idealstan-method | R Documentation |
stan
joint posterior distribution from idealstan
objectThis convenience function allows you to extract the underlying rstan
posterior estimates for the full parameters
estimates of the idealstan
model object. See extract
for the underlying function and more options.
You can use this function to access a matrix or array of the full posterior estimates of each of the parameters in an
idealstan
object. There are available options to pick certain parameters of the model, such as the person (legislator)
ideal points or item (bill) discrimination scores. Alternatively, you can leave the extract_type
option blank and
receive a list of all of the available parameters. Please note that the list of parameters do not have particularly
informative names.
All parameters are returned in the order in which they were input into the id_make
function.
## S4 method for signature 'idealstan'
id_extract(object, extract_type = "persons", ...)
object |
A fitted |
extract_type |
Can be one of |
... |
Any additional arguments passed on to the |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.