desc_data | R Documentation |
DESCRIPCIO DE LA FUNCIO
desc_data(
data,
format = "html",
maxlev = 7,
maxNA = 80,
size = 13,
caption = NULL,
remove_cols = TRUE,
df = FALSE
)
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)'. |
format |
a character string; possible values are latex, html, markdown, pandoc, and rst; this will be automatically determined if the function is called within knitr; it can also be set in the global option knitr.table.format; if format is a function, it must return a character string |
maxlev |
an integer indicating the maximum number of levels of variable. Default value is 7. |
maxNA |
an integer indicating the maximum number of missing data. |
size |
A numeric input for table font size |
caption |
Character vector containing the table's caption or title. Default value is a summary. |
remove_cols |
logical value. Removes all columns from a data that are composed entirely of NA values. |
df |
logical value. return data.frame |
# desc_data(data = iris, format = "html")
# desc_data(airquality, format = "html", maxNA = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.