wtd.kurtosis {RCPA3} | R Documentation |
Generates Kurtosis Statistic with Option to Weight Observations
Description
Generates Kurtosis Statistic with Option to Weight Observations
Usage
wtd.kurtosis(x, w, data, digits = 3)
Arguments
x |
Variable (a numeric vector) |
w |
(Optional) Weights variable |
data |
(Optional) Dataset, can be used to abbreviate x to variable name |
digits |
(Optional) Number of digits after decimal point (default: 3) |
Value
Returns the kurtosis of the variable, a numeric value.
Examples
library(RCPA3)
wtd.kurtosis(x=nes$age, w=nes$wt)
wtd.kurtosis(x=nes$age)
[Package RCPA3 version 1.2.1 Index]