Description Usage Arguments Value Examples
Changes the names of certain statistics to make them look nicer for presentation
1 2 | switch_names(dat, names_to_switch = c("X1B", "X2B", "X3B", "ML.Org",
"DL.Days", "PA.G", "IP.G", "K.perc", "BB.perc", "K.9", "BB.9", "HR.9"))
|
dat |
data.frame |
names_to_switch |
data.frame with names changed for display
1 2 | x <- read.csv("N:/Apps/simScoresApp/data/6-for-apps/batters/bat-raw.csv", header = T, stringsAsFactors = F) %>% tbl_df()
x1 <- switch_names(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.