“Error: `x` must be a formula” with qwraps2 summary_table function
问题 I am trying to make a table with summary statistics that looks similar to this (but with min/max/median/mean values filled in): Type Mass (g) tct tcx tht thx tct Min Max Median Mean (SD) Length (mm) Min Max Median Mean (SD) Width (mm) Min Max Median Mean (SD) Or even like this: (with a width column too) Mass (g) Length (mm) Type Min Max Median Mean (SD) Min Max Median Mean (SD) tct tcx tht thx tct Here is an example of my data: dat <- data.frame( "id" = c(01,02,03,04,05,06,07,08,09,10), "type