varDS {dsBase} | R Documentation |
Calculates the variance.
varDS(xvect)
xvect |
a vector |
if the length of input vector is less than the set filter a missing value is returned.
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
Amadou Gaye, Demetris Avraam, for DataSHIELD Development Team