ds.skewness: Skewness

Description Usage Arguments Details Value Dependencies Author(s) Examples

Description

Computes the skewness.

Usage

1
ds.skewness(x = NULL, datasources = NULL)

Arguments

x

a character, the name of the study variable.

datasources

a list of opal object(s) obtained after login in to opal servers; these objects hold also the data assign to R, as data frame, from opal datasources.

Details

Considering x.i for elements of x and mu for their mean, so m.r = sumi(xi-mu)^r/n is the sample moments of order r. Which sumi(xi-mu)^r is computed at each data node and combined by this function in the central node, also called client-side.

It is a wrapper for the server side function getSkewness.

Value

return a numeric value.

Dependencies

getSkewness

Author(s)

Paula Raissa Costa e Silva

Examples

1
skew <- ds.skewness('D$birth_weight')

paularaissa/distStatsClient documentation built on June 19, 2019, 12:43 a.m.