| State | R Documentation |
State Class
An R6Class generator object
on_1bOn 1B character [optional]
on_2bOn 2B character [optional]
on_3bOn 3B character [optional]
inningInning integer [optional]
outsOuts integer [optional]
topTop character [optional]
bat_scoreBat Score integer [optional]
fld_scoreFld Score integer [optional]
bat_lineup_orderBat Lineup Order integer [optional]
fld_lineup_orderFld Lineup Order integer [optional]
pitch_numberPitch Number integer [optional]
frame_runs_scoredFrame Runs Scored integer [optional]
new()State$new( on_1b = FALSE, on_2b = FALSE, on_3b = FALSE, inning = 1, outs = 0, top = TRUE, bat_score = 0, fld_score = 0, bat_lineup_order = 1, fld_lineup_order = 1, pitch_number = 0, frame_runs_scored = 0, ... )
toJSON()State$toJSON()
fromJSON()State$fromJSON(StateJson)
toJSONString()State$toJSONString()
fromJSONString()State$fromJSONString(StateJson)
clone()The objects of this class are cloneable with this method.
State$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.