Skip to content

Instantly share code, notes, and snippets.

@ibecav
ibecav / summarise_columns.R
Created January 5, 2023 14:19
Summarise some columns
summarise_columns <-
function(dfname, ...) {
checkmate::assert(
checkmate::checkClass(dfname, "tbl_lazy"),
checkmate::checkClass(dfname, "data.frame")
)
grps <- enquos(...)
# print(as.character(grps))
@ibecav
ibecav / theme_ik.R
Created January 5, 2023 14:01
Testing 1 2 3
theme_ik <- function(
base_size = 12,
base_family = "sans",
labs_color = "#074949",
axis_color = "#002F2F",
bg_color = "#eeffff",
grid_color = "#ccffff"
){
theme_minimal(base_size = base_size, base_family = base_family)+
theme(