varDS {dsBase}R Documentation

Computes the variance of vector

Description

Calculates the variance.

Usage

varDS(xvect)

Arguments

xvect

a vector

Details

if the length of input vector is less than the set filter a missing value is returned.

Value

a list, with the sum of the input variable, the sum of squares of the input variable, the number of missing values, the number of valid values, the number of total lenght of the variable, and a study message indicating whether the number of valid is less than the disclosure threshold

Author(s)

Amadou Gaye, Demetris Avraam, for DataSHIELD Development Team


[Package dsBase version 6.3.0 ]