PlayWP: PlayWP Class

Description Public fields Methods

Description

PlayWP Class

PlayWP Class

Public fields

gamesId
playId
playText
homeId
home
awayId
away
spread
homeBall
homeScore
awayScore
timeRemaining
yardLine
down
distance
homeWinProb
playNumber

Methods

Public methods


Method new()

Usage
PlayWP$new(
  gamesId,
  playId,
  playText,
  homeId,
  home,
  awayId,
  away,
  spread,
  homeBall,
  homeScore,
  awayScore,
  timeRemaining,
  yardLine,
  down,
  distance,
  homeWinProb,
  playNumber
)

Method toJSON()

Usage
PlayWP$toJSON()

Method fromJSON()

Usage
PlayWP$fromJSON(PlayWPJson)

Method toJSONString()

Usage
PlayWP$toJSONString()

Method fromJSONString()

Usage
PlayWP$fromJSONString(PlayWPJson)

Method clone()

The objects of this class are cloneable with this method.

Usage
PlayWP$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


saiemgilani/cfbd-api-R documentation built on Feb. 16, 2021, 12:07 a.m.