Learn R Programming

webmorphR (version 0.1.1)

get_info: Get Information

Description

Get Information

Usage

get_info(stimuli, ..., .rownames = "id")

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)

Value

a data frame or vector of the info

See Also

Other info: add_info(), compare(), get_point(), height(), metrics(), rename_stim(), width()

Examples

Run this code
# NOT RUN {
stimuli <- demo_stim() |>
  add_info(project = "test", gender = c("F", "M"))

get_info(stimuli)
get_info(stimuli, "gender")
# }

Run the code above in your browser using DataLab