| descriptives | R Documentation |
Computes key descriptive statistics for each numeric variable in a vector, matrix, or data frame.
descriptives(data)
data |
A numeric vector, matrix, or data frame with observations in rows and variables in columns. |
A data frame where each row corresponds to a variable and each column represents a summary statistic:
number of non-missing observations (n), arithmetic mean (Mean),
standard deviation (Std.Dev), median (Median), minimum (Min),
maximum (Max), first quartile (25th), third quartile (75th),
sample skewness (Skew, from moments::skewness), and sample kurtosis
(Kurtosis, from moments::kurtosis).
## Not run:
data <- iris[1:4]
descriptives(data)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.