SHARE
TWEET

ffanalytics

a guest Aug 18th, 2016 138 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. userScoring <- structure(list(QB = structure(list(dataCol = c("passYds", "passAtt",
  2. "passComp", "passInc", "passTds", "passInt", "pass40", "pass300",
  3. "pass350", "pass400", "rushYds", "sacks", "rushAtt", "rush40",
  4. "rushTds", "twoPts", "fumbles"), multiplier = list(0.04, 0, 0,
  5.     0, 4, -1, 0, 0, 0, 0, 0.1, 0, 0, 0, 6, 2, -2), position = c("QB",
  6. "QB", "QB", "QB", "QB", "QB", "QB", "QB", "QB", "QB", "QB", "QB",
  7. "QB", "QB", "QB", "QB", "QB")), .Names = c("dataCol", "multiplier",
  8. "position"), row.names = c(NA, -17L), class = c("data.table",
  9. "data.frame"), .internal.selfref = <pointer: 0x0>), RB = structure(list(
  10.     dataCol = c("rushYds", "rushAtt", "rushTds", "rush40", "rush100",
  11.     "rush150", "rush200", "rec", "recYds", "recTds", "rec40",
  12.     "returnYds", "returnTds", "twoPts", "fumbles"), multiplier = list(
  13.         0.1, 0, 6, 0, 0, 0, 0, 1, 0.1, 6, 0, 0, 6, 2, -2), position = c("RB",
  14.     "RB", "RB", "RB", "RB", "RB", "RB", "RB", "RB", "RB", "RB",
  15.     "RB", "RB", "RB", "RB")), .Names = c("dataCol", "multiplier",
  16. "position"), row.names = c(NA, -15L), class = c("data.table",
  17. "data.frame"), .internal.selfref = <pointer: 0x0>), WR = structure(list(
  18.     dataCol = c("rushYds", "rushAtt", "rushTds", "rush40", "rush100",
  19.     "rush150", "rush200", "rec", "recYds", "recTds", "rec40",
  20.     "returnYds", "returnTds", "twoPts", "fumbles"), multiplier = list(
  21.         0.1, 0, 6, 0, 0, 0, 0, 1, 0.1, 6, 0, 0, 6, 2, -2), position = c("WR",
  22.     "WR", "WR", "WR", "WR", "WR", "WR", "WR", "WR", "WR", "WR",
  23.     "WR", "WR", "WR", "WR")), .Names = c("dataCol", "multiplier",
  24. "position"), row.names = c(NA, -15L), class = c("data.table",
  25. "data.frame"), .internal.selfref = <pointer: 0x0>), TE = structure(list(
  26.     dataCol = c("rushYds", "rushAtt", "rushTds", "rush40", "rush100",
  27.     "rush150", "rush200", "rec", "recYds", "recTds", "rec40",
  28.     "returnYds", "returnTds", "twoPts", "fumbles"), multiplier = list(
  29.         0.1, 0, 6, 0, 0, 0, 0, 1, 0.1, 6, 0, 0, 6, 2, -2), position = c("TE",
  30.     "TE", "TE", "TE", "TE", "TE", "TE", "TE", "TE", "TE", "TE",
  31.     "TE", "TE", "TE", "TE")), .Names = c("dataCol", "multiplier",
  32. "position"), row.names = c(NA, -15L), class = c("data.table",
  33. "data.frame"), .internal.selfref = <pointer: 0x0>), K = structure(list(
  34.     dataCol = c("xp", "fg0019", "fg2029", "fg3039", "fg4049",
  35.     "fg50", "fgMiss"), multiplier = list(1, 3, 3, 3, 3, 3, 0),
  36.     position = c("K", "K", "K", "K", "K", "K", "K")), .Names = c("dataCol",
  37. "multiplier", "position"), row.names = c(NA, -7L), class = c("data.table",
  38. "data.frame"), .internal.selfref = <pointer: 0x0>), DL = structure(list(
  39.     dataCol = c("idpSolo", "idpAst", "idpSack", "idpInt", "idpFumlForce",
  40.     "idpFumlRec", "idpPD", "idpTd", "idpSafety"), multiplier = list(
  41.         1, 0.5, 2, 3, 2, 2, 1, 6, 0), position = c("DL", "DL",
  42.     "DL", "DL", "DL", "DL", "DL", "DL", "DL")), .Names = c("dataCol",
  43. "multiplier", "position"), row.names = c(NA, -9L), class = c("data.table",
  44. "data.frame"), .internal.selfref = <pointer: 0x0>), LB = structure(list(
  45.     dataCol = c("idpSolo", "idpAst", "idpSack", "idpInt", "idpFumlForce",
  46.     "idpFumlRec", "idpPD", "idpTd", "idpSafety"), multiplier = list(
  47.         1, 0.5, 2, 3, 2, 2, 1, 6, 0), position = c("LB", "LB",
  48.     "LB", "LB", "LB", "LB", "LB", "LB", "LB")), .Names = c("dataCol",
  49. "multiplier", "position"), row.names = c(NA, -9L), class = c("data.table",
  50. "data.frame"), .internal.selfref = <pointer: 0x0>), DB = structure(list(
  51.     dataCol = c("idpSolo", "idpAst", "idpSack", "idpInt", "idpFumlForce",
  52.     "idpFumlRec", "idpPD", "idpTd", "idpSafety"), multiplier = list(
  53.         1, 0.5, 2, 3, 2, 2, 1, 6, 0), position = c("DB", "DB",
  54.     "DB", "DB", "DB", "DB", "DB", "DB", "DB")), .Names = c("dataCol",
  55. "multiplier", "position"), row.names = c(NA, -9L), class = c("data.table",
  56. "data.frame"), .internal.selfref = <pointer: 0x0>)), .Names = c("QB",
  57. "RB", "WR", "TE", "K", "DL", "LB", "DB"))
  58. vorBaseline <- structure(c(24, 40, 62, 24, 21, 31, 35, 31),
  59.                          .Names = c("QB", "RB", "WR", "TE", "K", "DL", "LB", "DB"))
  60. vorType <- structure(c("Rank", "Rank", "Rank", "Rank", "Rank", "Rank", "Rank",
  61.                        "Rank"), .Names = c("QB", "RB", "WR", "TE", "K", "DL", "LB", "DB"))
  62. tierDValues <- structure(c(0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5, 0.5),
  63.                          .Names = c("QB", "RB", "WR", "TE", "K", "DL", "LB", "DB"))
  64. scoreThreshold <- structure(c(20, 20, 20, 20, 10, 10, 10, 10, 10),
  65.                             .Names = c("QB", "RB", "WR", "TE", "K", "DST", "DL", "LB", "DB"))
  66. tierGroups <- structure(c(10, 10, 10, 7, 7, 5, 10, 10, 10),
  67.                         .Names = c("QB", "RB", "WR", "TE", "K", "DST", "DL", "LB", "DB"))
  68. myScrapeData <- runScrape(week = 0, season = 2016, analysts = c(-1, 3, 4, 5, 6, 7, 9, 17, 18, 19, 20, 28),
  69.                           positions = c("QB", "RB", "WR", "TE", "K", "DL", "LB", "DB"), fbgUser = NULL,
  70.                           fbgPwd = NULL)
  71. myProjections <- getProjections(scrapeData = myScrapeData, avgMethod = "robust",
  72.                                 leagueScoring = userScoring, vorBaseline, vorType, teams = 10,
  73.                                 format = "ppr", mflMocks = -1, mflLeagues = -1, adpSources = c("Yahoo"))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top