Get Information
Arguments
- stimuli
list of stimuli
- ...
column names to return
- .rownames
whether to return a table with no rownames (NULL), rownames from the list item names (NA), or as a new column (the column name as a string)
Examples
stimuli <- demo_stim() |>
add_info(project = "test", gender = c("F", "M"))
get_info(stimuli)
#> # A tibble: 2 × 6
#> id project gender width height tem
#> <chr> <chr> <chr> <int> <int> <int>
#> 1 f_multi test F 500 500 189
#> 2 m_multi test M 500 500 189
get_info(stimuli, "gender")
#> f_multi m_multi
#> "F" "M"