gen_team_dat: Generate team data by week for testing

Description Usage Arguments Value

View source: R/sfw.R

Description

Generate team data by week for testing

Usage

1
2
gen_team_dat(team_labels = paste0("team", 1:10), weeks = 10,
  random_dist = list(dist = "norm", mean = 100, sd = 10), decimal = F)

Arguments

team_labels

vector of team labels

weeks

total number of weeks

random_dist

list with elements, dist = c("norm"), mean, sd

decimal

indicator for decimal scoring

Value

data_frame with team, week and random score (normal distribution)


mitchell-thomann/faabulousR documentation built on Sept. 30, 2019, 10:06 a.m.