Create an auto-indented table based on tableone::CreateTableOne.
prettytable_autoindent.Rd
Create an auto-indented table based on tableone::CreateTableOne.
Arguments
- vars
Character vector. Names of variables to summarize
- data
Data.frame. Where to search for
vars
.- nspaces
Integer. Number of spaces to add to the beginning of indented rows.
- includeNA
Logical. Whether or not to treat NAs as a factor level.
- nonnormal
Character vector. Names of variables in
vars
to treat as non-normally distributed for summary and test functions.- ...
Arguments passed to
CreateTableOne