Description Usage Arguments Value
make mytable from data.frame
1 2 3 4 5 6 7 8 9 10 | mytable_df(
x,
use.labels = TRUE,
use.column.label = TRUE,
max.ylev = 5,
maxCatLevel = 20,
digits = 1,
method = 1,
show.all = FALSE
)
|
x |
A data.frame |
use.labels |
Logical. Whether or not use labels. |
use.column.label |
Logical. Whether or not use column labels. |
max.ylev |
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. |
maxCatLevel |
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. |
digits |
An integer indicating the number of decimal places (round) or significant digits to be used. Default value is 1. |
method |
An integer indicating methods for continuous variables. Possible values in methods are
Default value is 1. |
show.all |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.