skewness | R Documentation |
Compute the skewness
skewness(
x,
type = "pearson",
rounding = 2,
na.rm = FALSE,
details = FALSE,
grouped = TRUE
)
x |
R object (list) of class leem. Use |
type |
character. methodology addressed. For now, we only have the |
rounding |
Numerical object. Rounds the values in its first argument to the specified number of decimal places (default |
na.rm |
a logical value indicating whether |
details |
Logical object. Details of data (default |
grouped |
Logical object. Determines whether the measure of position result will be based on grouped data or not (default |
# Example 1: Poisson data
rpois(30, 2.5) |>
new_leem() |>
skewness()
# Example 2: Normal data
rnorm(50, 100, 2.5) |>
new_leem(variable = 2) |>
skewness(grouped = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.