skewness: Skewness Statistic

View source: R/skewness.r

skewnessR Documentation

Skewness Statistic

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

skewness(x, ...)

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


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


s20x documentation built on Aug. 21, 2023, 5:07 p.m.