Learn R Programming

mlr3data (version 0.7.0)

moneyball: Major League Baseball Statistics 1962-2012

Description

Regression data to predict the number of runs scored. Obtained using the mlr3oml package.

Contains 14 features and 1232 observations. Target column is "rs".

Arguments

Pre-processing

  • All variable names have been converted from upper case to lower case.

  • The variables "year", "rs", "ra", "w"` have been coerced to integers.

Examples

Run this code
data("moneyball", package = "mlr3data")
str(moneyball)

Run the code above in your browser using DataLab