View source: R/filter_mutate_select_tidy.R
select_faces | R Documentation |
Select a subset of the variables across a faces object. It always return timestamp, frame and success. The function is an openfacer equivalent of dplyr::select.
select_faces(faces, ...)
faces |
A "faces" object. |
... |
The names or the numbers of the selected variables, or an expression that point to them. The operator "-" exclude the variables. |
A "faces" object with the selected variables, timestamp, frame and success.
# Select the AU related to smiling
select_faces(test_faces, AU12_c, AU06_c)
# Create a mei variable, select it and summarise
test_faces %>%
transform_faces("mei", mei) %>%
select_faces(mei) %>%
tidy_face()
# Select all the AU variables
test_faces %>%
select_faces(starts_with("AU"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.