make mytable from data.frame
mytable_df(
x,
use.labels = TRUE,
use.column.label = TRUE,
max.ylev = 5,
maxCatLevel = 20,
digits = 1,
method = 1,
show.all = FALSE
)
A data.frame
Logical. Whether or not use labels.
Logical. Whether or not use column labels.
An integer indicating the maximum number of levels of grouping variable. If a column have unique values less than max.ylev it is treated as a categorical variable. Default value is 5.
An integer indicating the maximum number of unique levels of categorical variable. If a column have unique values more than maxCatLevel, categorical summarization will not be performed.
An integer indicating the number of decimal places (round) or significant digits to be used. Default value is 1.
An integer indicating methods for continuous variables. Possible values in methods are
forces analysis as normal-distributed
forces analysis as continuous non-normal
performs a Shapiro-Wilk test to decide between normal or non-normal
Default value is 1.
A logical value indicating whether or not all statistical values have to be shown in table. Default value is FALSE.
An object of class "mytable.df". 'print' returns a table for descriptive statistics.