count_events | R Documentation |
Function to count how many differnet times a facial event occurs.
count_events(x, sensitivity = 5)
x |
the variable for which to count events (must have two levels: 0 and 1). |
sensitivity |
how many frames might have the software missed and still considered the event as one. |
The number of occurred events.
#Counting John blinkings
count_events(john$AU45_c)
# Using a lower sensitivity to make sure each each blink is counted as one
count_events(john$AU45_c, sensitivity = 0)
# There will be higher risk of machine error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.