clean_tapped_button_none: Remove duplicates in the given dataframe tap_data which have...

Description Usage Arguments Value

View source: R/get_tapping_features.R

Description

Remove duplicates in the given dataframe tap_data which have the buttonid parameter as 'TappedButtonNone'

Usage

1

Arguments

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

Value

A dataframe with duplicates corresponding to buttonid == 'TappedButtonNone' removed


Sage-Bionetworks/mHealthTools documentation built on Sept. 21, 2020, 12:35 p.m.