finalfit, create a summary table with “status.factor” as the dependent variable and the following as explanatory variables:
sex.factor, ulcer.factor, age.factor, thickness.
Change the continuous variable summary statistic to
interquartile range instead of
By changing one and only one line in the following block create firstly a new table showing the breakdown of
status.factor by age and secondly the breakdown of
status.factor by sex:
Now produce these tables using the
summary_factorlist() function from the finalfit package.