meanMedianFinder: Processing function for finding means or medians

Description Usage Arguments Value

Description

meanMedianFinder() takes the dataSet and extracts the mean and median of grip for the whole dataSet. This function should only be used in processDataSet, because that has the code to group all of the data into the right groups based on subject, session, trial, condition, period, etc. This should be included in the processing section of modelMetadata called processFunction

Usage

1
meanMedianFinder(data, percOcclusion = 0.05)

Arguments

data

the data to process.

percOcclusion

the percentage of occlusion that is acceptable (this is the upper bound, in percent.) Default: 0.05, or only trials where there is less than 5% of occlusion are processed.

Value

a dataframe with the data that has been processed, one line per observation


jonkeane/mocapGrip documentation built on May 19, 2019, 7:30 p.m.