modelAllData: Model all data in a data object

Description Usage Arguments Value

Description

takes data, and returns an object that includes the original data as well as fit models.

Usage

1
modelAllData(data, refitModels = FALSE, modelMd = modelMetadata, ...)

Arguments

data

A data object, as generated by readExtractedMocapData

refitModels

logical, if there are models that are already fit, should they be refit? Default: FALSE

modelMd

a modelMetadata object. If you have loaded a different modelMetadata object that you would like to use, place it here. The default is 'modelMetadata' which comes with the package.

...

options to pass to fitModels (or findTheBestModel, if reprogrammed adjusted)

Value

Returns a data object (with all of the same data as the data object given in the data argument) with all of the models that were fit included.


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