results.fitted: Fitted Results

Description Usage Arguments Details Value Functions

View source: R/results.fitted.R

Description

This function returns the fitted speed-acceleration results. This data can then be used to build an athlete's speed-acceleration linear model.

Usage

1
2
3
results.fitted(game.data, r2 = 0.95)

sa.results.fitted(game.data, r2 = 0.95)

Arguments

game.data

A player's game data

r2

The minimum r^2 when fitting the model

Details

This function is complimented by sa.results.observed().

The observations provided by sa.results.observed() are fit to a linear model. A looped function removes the observation with the largest residual, re-fitting the linear model, and assessing whether the model has reached an r^2 of equal to, or greater than, that provided by the user. The r^2 value provided (0.95) corresponds with what is suggested in the literature.

Value

A data frame that returns fitted speed-acceleration observations

Functions


aaronzpearson/fvp documentation built on Jan. 16, 2022, 12:39 a.m.