Description Usage Arguments Value
View source: R/get_tapping_features.R
Extract tapping (screen sensor) features
1 | tapping_features(tap_data, depress_threshold = 20)
|
tap_data |
A n x 4 data frame with column names as t, x, y, buttonid containing tapping measurements. Here n is the total number of tapping measurements, t is the time of measurement when the screen press was recorded, x and y are the coordinates of the screen touch in the smartphone, and buttonid can be one of the following values c('TappedButtonLeft', 'TappedButtonRight','TappedButtonNone') indicating a tap that has been classified as to the left, right or neither of those places on the screen |
depress_threshold |
A numeric value indicating the threshold between two successive taps |
A 1 x 43 data frame consisting of tapping features and an error message, if any See https://github.com/Sage-Bionetworks/mhealthtools/blob/master/FeatureDefinitions.md for feature definitions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.