Description Usage Arguments Value Examples
View source: R/nflProjectionsFunction.R
nfl Player Position Projections Function
1 2 3 4 5 6 7 8 9 10 11 12 13 | nflProjection(modelWeek = 6, modelYear = 2018, gameSlate = "Main",
qbModel = "qbBig_ridgeModel_tuneUniq2",
rbModel = "rbBig_gbmModel_tuneUniq2",
wrModel = "wrBig_gbmModel_tuneUniq2",
teModel = "teBig_treebagModel_tuneUniq2",
dstModel = "dstBig_icrModel_tuneUniq2",
pffModel = "pffCombined_rangerModel_trimmed",
qbVars = "qbVariablesBig", rbVars = "rbVariablesBig",
wrVars = "wrVariablesBig", teVars = "teVariablesBig",
dstVars = "dstVariablesBig", qbPre = "qbUPre", rbPre = "rbUPre",
wrPre = "wrUPre", tePre = "teUPre", dstPre = "dstUPre",
pffPre = "preProcPFFDataTrimmed", labModel = "2018",
saveNameAdd = "theMoneyMaker", pffData = TRUE)
|
modelWeek |
mW |
modelYear |
mY |
gameSlate |
.."Main","Turbo","Afternoon","Allday","Night"...etc |
qbModel |
the model used to mak projections. Saved in ~/MLB_Daily/machineLearning/hitters/ |
rbModel |
algoName |
wrModel |
algoName |
teModel |
algoName |
dstModel |
algoName |
qbVars |
variableNamesFile |
rbVars |
variableNamesFile |
wrVars |
variableNamesFile |
teVars |
variableNamesFile |
dstVars |
variableNamesFile |
qbPre |
preProcessingFile |
rbPre |
preProcessingFile |
wrPre |
preProcessingFile |
tePre |
preProcessingFile |
dstPre |
preProcessingFile |
labModel |
name of the fantasyLabs model used in the projections model training...default "mainBae"..6_11_2018 |
saveNameAdd |
addtoOriginalName |
pffData |
TRUE?FALSE |
saves csv file with projections to ~/NFL_Daily/dfsProjections/QB/WR/TE/RB/DST/..../ and returns the data.frames in the r console in a list
1 | nflProjection(modelWeek=6,modelYear=2018,gameSlate="Main",qbModel="qbBig_ridgeModel_tuneUniq2",rbModel="rbBig_gbmModel_tuneUniq2",wrModel="wrBig_gbmModel_tuneUniq2",teModel="teBig_treebagModel_tuneUniq2",dstModel="dstBig_icrModel_tuneUniq2",pffModel="pffCombined_rangerModel_trimmed",qbVars="qbVariablesBig",rbVars="rbVariablesBig",wrVars="wrVariablesBig",teVars="teVariablesBig",dstVars="dstVariablesBig",qbPre="qbUPre",rbPre="rbUPre",wrPre="wrUPre",tePre="teUPre",dstPre="dstUPre",pffPre="preProcPFFDataTrimmed",labModel="2018",saveNameAdd="theMoneyMaker",pffData=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.