Create an auto-indented table based on tableone::CreateTableOne.
prettytable_autoindent.RdCreate 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
varsto treat as non-normally distributed for summary and test functions.- ...
Arguments passed to
CreateTableOne