ds.sd: Standard Deviation

Description Usage Arguments Details Value Dependencies Author(s) Examples

Description

Computes the standard deviation for a study variable.

Usage

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

Arguments

x

a character, the name of a 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

Uses denominator n-1.

The standard deviation of a zero-length vector (after removal of NAs if na.rm = TRUE) is not defined and gives an error. The standard deviation of a length-one vector is NA.

Value

return a numeric value.

Dependencies

ds.var

Author(s)

Paula Raissa Costa e Silva

Examples

1
2
3
{
sd <- ds.sd('D$birth_weight')
}

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