View source: R/summarise_skewness.R
summarise_skewness | R Documentation |
Calculates skewness for numeric vectors, matrices, data frames, or tibbles using Pearson’s moment coefficient.
summarise_skewness(x)
x |
A numeric vector, matrix, data frame, or tibble. |
A tibble: - If input has one numeric column or is a numeric vector: a tibble with a single value. - If input has multiple numeric columns: a tibble with variable names and skewness values.
summarise_skewness(iris)
summarise_skewness(as.vector(iris$Sepal.Width))
summarise_skewness(data.frame(a = rnorm(100), b = rgamma(100, 2)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.