Description Usage Arguments Value Examples
View source: R/mlbBatsProjectionFunction2018.R
mlb Bat Projections Function
1 2 | mlbBatProjection(pDate = "6_10_2018", gameSlate = "Main",
batModel = "svmFit.actual6_11_18", labModel = "mainBae")
|
pDate |
gameDate |
gameSlate |
.."Main","Turbo","Afternoon","Allday","Night"...etc |
batModel |
the model used to mak projections. Saved in ~/MLB_Daily/machineLearning/hitters/ |
labModel |
name of the fantasyLabs model used in the projections model training...default "mainBae"..6_11_2018 |
saves csv file with projections to ~/MLB_Daily/dfsProjections/hitters/ and returns the data.frame in the r console
1 | mlbBatProjection(pDate="6_10_2018",gameSlate="Main",batModel="svmFit.actual6_11_18",labModel="mainBae")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.