R/counts_and_pcts.R
counts_and_pcts.Rd
Compute and paste counts and proportions
counts_and_pcts(x)
a vector
a character string
x <- test_data$`Ataxia: severity*` x |> counts_and_pcts() #> 406 (69.2%) #> 93 (15.8%) #> 44 (7.5%) #> 33 (5.6%) #> 11 (1.9%)