descriptive | R Documentation |
Creates a detailed summary of the data
descriptive(x, z = 3, ignore.na = TRUE, by = NULL, print = TRUE)
x |
A data.frame |
z |
Number of decimal places |
ignore.na |
If TRUE NA values will not count for relative frequencies calculations |
by |
Factor variable definining groups for the summary |
print |
Should results be printed? |
Summary of the data
descriptive(iris)
descriptive(iris, by="Species")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.