skewness: Skewness Statistic

Description Usage Arguments Value Examples

View source: R/skewness.r

Description

Calculates the skewness statistic of the data in 'x'. Values close to zero correspond to reasonably symmetric data, positive values of this measure indicate right-skewed data whereas negative values indicate left-skewness.

Usage

1

Arguments

x

vector containing the data.

...

any other variables to be passed to mean and sd, e.g. na.rm = TRUE.

Value

Returns the value of the skewness.

Examples

1
2
3
##Merger data:
data(mergers.df)
skewness(mergers.df$mergerdays)

s20x documentation built on Aug. 23, 2021, 9:15 a.m.

Related to skewness in s20x...