I don't want some variable names to appear in the row column in expss
05:00 26 Oct 2025

In the code below, I want to remove the "Miles/(US) gallon" text in the line. Because I'm already writing it as a column heading. I also don't want the "4/6/8" text to appear in the Total line. I only want the "Total" text to appear.

library(expss)
mtcars %>%
  tab_cols(list("Miles/(US) gallon")) %>%
  tab_cells(list(mpg)) %>%
  tab_rows(cyl) %>%
  tab_subtotal_rows(list(cyl), position = "bottom",
                    prefix = "Total ",
                    new_label = NULL) %>%
  tab_stat_fun("n" = w_n,
               "Mean" = w_mean,
               "Std. Err." = w_se,
               "Min" = w_min,
               "Max" = w_max,
               unsafe=FALSE,
               method = list) %>%
  tab_pivot()
r statistics expss