get_info: Get Information

Description Usage Arguments Value Examples

View source: R/add_info.R

Description

Get Information

Usage

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

Arguments

stimuli

list of class stimlist

...

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

Examples

1
2
3
4
5
stimuli <- demo_stim() %>%
  add_info(project = "test", gender = c("F", "M"))

get_info(stimuli)
get_info(stimuli, "gender")

facelab/webmorph documentation built on April 11, 2021, 6:34 a.m.