wtd_skewness: Weighted Skewness with na.rm

View source: R/wtd_moments.R

wtd_skewnessR Documentation

Weighted Skewness with na.rm

Description

Compute weighted Skewness using Weighted.Desc.Stat::w.skewness but add an option to remove NA values

Usage

wtd_skewness(x, w, na.rm = TRUE)

Arguments

x

values whose weighted mean is to be computed

w

weights of the same length as x to be used against x

na.rm

a logical values indicating whether NA values in both x and w should be stripped before computation


Rekyt/fdcoexist documentation built on Oct. 16, 2022, 10:27 a.m.