get_data | R Documentation |
Returns the exposure and/or test data used during the creation of the stanfit
.
object.
get_data(x, ...)
## S3 method for class 'ideal_adaptor_stanfit'
get_data(
x,
groups = get_group_levels(x, include_prior = FALSE),
.rename_to_MVB_default = FALSE,
...
)
get_exposure_data(x, ...)
## S3 method for class 'ideal_adaptor_stanfit'
get_exposure_data(x, groups = get_group_levels(x, include_prior = FALSE), ...)
get_test_data(x, ...)
## S3 method for class 'ideal_adaptor_stanfit'
get_test_data(
x,
groups = get_group_levels(x, include_prior = FALSE),
.from_staninput = FALSE,
...
)
x |
|
... |
additional arguments to |
groups |
Character vector of groups for which test data is requested. Typically, the levels of these factors
are automatically added to the fit during the creation of the fit. If necessary, however, it is possible to use
|
.rename_to_MVB_default |
Should the data columns be renamed to the default names used internally in 'MVBeliefUpdatr'? his option is included primarily for internal use. (default: 'FALSE') |
.from_staninput |
Should the data be extracted from the staninput (rather than data) object stored in the stanfit object? This returns the data in a somewhat different format. This option is included primarily for internal use. (default: 'FALSE') |
A tibble
in which each row is a test token. Columns include the cues
and the response counts (one column per category) for all test tokens and all groups.
TBD
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.