desc_numeric | R Documentation |
DESCRIPCIO DE LA FUNCIO
desc_numeric(
data,
covariates,
y,
frml = NULL,
method = "non-param",
method.cor = "pearson",
caption = NULL,
font_size = 13,
width_lev = "9em",
col.background = "#993489",
show.pval = TRUE,
show.all = TRUE,
show.n = TRUE,
corplot = FALSE,
nround = 1,
cor_cut = 0.7,
pval_cut = 0.05,
...
)
data |
data frame, list or environment (or object coercible by 'as.data.frame' to a data frame) containing the variables in the model. If they are not found in 'data', the variables are taken from 'environment(formula)'. |
covariates |
a character string with names of variables. |
y |
numeric variable. Outcome |
frml |
Right side of ~ must have the terms in an additive way, and left side of ~ must contain the name of the grouping variable or can be left in blank (in this latter case descriptives for whole sample are calculated and no test is performed). |
method |
character string indicating the method to test use; possible values are 'param' or 'non-param'. Default values is 'non-param'. |
method.cor |
character string indicating the method to correlation use; possible values are 'pearson' or 'spearman' or "both. Default values is 'pearson'. |
caption |
Character vector containing the table's caption or title. |
font_size |
A numeric input for table font size |
width_lev |
defines the maximum width of table columns. Default value is 9em |
show.pval |
logical indicating whether p-value of overall groups significance ('p.overall' column) is displayed or not. Default value is TRUE. |
cor_cut |
A numeric value to variable dplyr::select |
pval_cut |
A numeric value to variable dplyr::select (p.value) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.