Description Usage Arguments Examples
View source: R/summarise_points.R
Summarise billed and unbilled points in a dataframe.
1 | summarise_points(df, lowercase = TRUE, ...)
|
df |
A datafame |
lowercase |
"billed" and "points" by default. If FALSE, will use 'Billed?' and Points |
... |
Other arguments |
1 2 3 4 5 6 7 8 9 10 11 12 | library(tidyverse)
lowercase_df <- as.data.frame(list(points = seq(1, 10, by = 2),
billed = c("Yes", "No", "No", "Yes", "Yes")))
uppercase_df <- lowercase_df %>%
rename(
Points = points,
`Billed?` = billed
)
summarise_points(lowercase_df)
summarise_points(uppercase_df, lowercase = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.