Sabermetrics and Advanced Baseball Statistics

BA | Batting: Calculate batting average |

BABIP | Batting: Calculate batting average on balls in play (BABIP) |

baseballDBR | baseballDBR: A package for working with data from the... |

Batting2016 | A sample subset of the Batting table from the Baseball... |

BB_9 | Pitching: Calculate walks per nine innings |

BBpct | Batting: Calculate base on ball percentage |

Ch | Fielding: Calculate defensive chances |

compound_pipe | Compound_pipe |

CTpct | Batting: Calculate a batter's contact rate |

Fielding2016 | A sample subset of the Fielding table from the Baseball... |

FIP | Pitching: Fielding Independent Pitching (FIP) |

fip_values | Return FIP constants per season |

Fld_pct | Fielding: Calculate batting average |

get_bbdb | Get an up to date copy of the Baseball Databank. |

H_9 | Pitching: Calculate Hits per Nine innings |

HR_9 | Pitching: Calculate Home Runs per Nine innings |

HRpct | Batting: Calculate home run percentage |

IP | Pitching: Calculate the innings pitched |

ISO | Batting: Calculate ISO for batters |

K_9 | Pitching: Calculate Strikes per Nine innings |

Kpct | Batting: Calculate strikeout percentage |

LOB_pct | Pitching: Calculate the left on base percentage |

OBP | Batting: Calculate on base percentage (OBP) |

OPS | Batting: Calculate on base percentage plus slugging (OPS) |

PA | Batting: Calculate plate appearances for batters |

pipe | Pipe operator |

Pitching2016 | A sample subset of the Pitching table from the Baseball... |

RC2002 | Batting: Calculate Runs Created using the updated 2002... |

RCbasic | Batting: Calculate Runs Created using the basic formula. |

RCtech | Batting: Calculate Runs Created using the technical formula. |

seasonAVG | League averages and aggregates from 1901 to present. |

SLG | Batting: Calculate slugging percentage (SLG) |

TBs | Batting: Calculate a batter's total bases |

urlExists | urlExists |

WHIP | Pitching: Calculate Walks plus Hits per Innings Pitched |

wOBA | Batting: Calculate Weighted On-Base Average (wOBA) |

wOBA_values | Return wOBA values per season |

wRAA | Batting: Calculate Weighted Runs Above Average (wRAA) |

wRC | Batting: Calculate Weighted Runs Created (wRC) |

XBHpct | Batting: Calculate extra base percentage |

XBperH | Batting: Calculate extra base per hit |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.