results.model: Model Results

Description Usage Arguments Details Functions

View source: R/results.model.R

Description

_.results.model() functions return a data.frame that contains all observations that are required to build plots from the resulting models. Unlike _.player.profile(), a player's abilities are not returned concisely. Rather, this function was built to provide practitioners the ability to plot player's modeled abilities for simple visualization.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
results.model(
  player.data,
  testing.data,
  game.data,
  push.off.angle = 90,
  sample.rate = 10,
  r2 = 0.95
)

fv.results.model(player.data, testing.data, push.off.angle = 90)

gps.results.model(game.data, sample.rate = 10)

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

scout.results.model(sprint.data)

fvp.results.model(player.data, player.profile, sprint.duration = 5)

Arguments

player.data

The player's anthropometric data and testing day weather

testing.data

The player's force-velocity testing data

game.data

The player's cleaned game data

push.off.angle

Push-off angle for force-velocity testing (degrees)

sample.rate

The game data sample rate (Hz)

r2

The minimum r^2 when fitting the model

Details

_.results._() functions are built with consistency in mind. Therefore, the majority of them take on a player's observed or tested data. The exception to this rule is fvp._() functions because secondary analyses are required before returning a player's profile and modeled data.

The _.results.game(), _.results.fitted(), and _.results.observed() return similar data.frames but behave differently on the back-end. Therefore, it is suggested that these functions be used for their intended purposes.

Functions


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