GameSimResults: GameSimResults

GameSimResultsR Documentation

GameSimResults

Description

GameSimResults Class

Format

An R6Class generator object

Public fields

home_score

Home Score integer

away_score

Away Score integer

Methods

Public methods


Method new()

Usage
GameSimResults$new(home_score, away_score, ...)

Method toJSON()

Usage
GameSimResults$toJSON()

Method fromJSON()

Usage
GameSimResults$fromJSON(GameSimResultsJson)

Method toJSONString()

Usage
GameSimResults$toJSONString()

Method fromJSONString()

Usage
GameSimResults$fromJSONString(GameSimResultsJson)

Method clone()

The objects of this class are cloneable with this method.

Usage
GameSimResults$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


singlearity-sports/singlearity-R documentation built on April 21, 2022, 3:48 a.m.