meanMedianSubsetFinder: Processing function for finding means or medians of a subset...

Description Usage Arguments Value

Description

meanMedianSubsetFinder() takes the dataSet and extracts the mean and median of grip for a subset of the 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
2
meanMedianSubsetFinder(data, percOcclusion = 0.05, start, stop,
  timeType = "msecs")

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.

start

when to start the subset, either in percentage (default) or milliseconds

stop

when to stop the subset, either in percentage (default) or milliseconds

timeType

a character, either "percentage" if the times given should be used as percentages (this is the default); or "msecs" if the times given should be used as miliseconds

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.