kurtosisDS1 {dsBase}R Documentation

Calculates the kurtosis of a numeric variable

Description

This function calculates the kurtosis of a numeric variable for each study separately.

Usage

kurtosisDS1(x, method)

Arguments

x

a string character, the name of a numeric variable.

method

an integer between 1 and 3 selecting one of the algorithms for computing kurtosis detailed in the headers of the client-side ds.kurtosis function.

Details

The function calculates the kurtosis of an input variable x with three different methods. The method is specified by the argument method in the client-side ds.kurtosis function.

Value

a list including the kurtosis of the input numeric variable, the number of valid observations and the study-side validity message.

Author(s)

Demetris Avraam, for DataSHIELD Development Team


[Package dsBase version 6.1.0 ]