tidy_face | R Documentation |
Tidy Face A core function of the OpenFaceR routine. It summarise all the columns of a dataframe into a tidy dataset
tidy_face(x, events = TRUE, continuous = TRUE, events_sum = "count",
...)
x |
a faces object |
events |
include events variables summary |
continuous |
include countinous variables summary |
events_sum |
the method for summarising events. This can be "eps" (events per second), "count" or "rate", which is the proportion of time in which events are happening |
... |
more options to control the summary of continuous variables (see continuous_summarise) |
A list of "faces" dataframes
# Calculate median mei for the four example videos
test_videos %>%
transform_videos("mei", mei) %>%
select_videos(mei) %>%
tidy_face(mean = F, sd = T, median = F)
# Count each Action Unit
test_faces %>%
select_faces(starts_with("AU")) %>%
tidy_face(continuous = FALSE, events_sum = "count")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.