Relative Content

Tag Archive for crosstable

Set NA to “missing” in crosstable [r]

library(crosstable) ct1 = crosstable(mtcars2, c(disp, vs), by=am, total=”both”, percent_pattern=”{n} ({p_row}/{p_col})”, percent_digits=0) %>% as_flextable() ct1 How can I easily change “NA” into “missing” instead? crosstable