ds.length: Length of an Object

Description Usage Arguments Details Value Dependencies Author(s) Examples

Description

Computes the sample length of a study variable.

Usage

1
ds.length(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

If a vector is shortened, extra values are discarded and when a vector is lengthened, it is padded out to its new length with NAs (nul for raw vectors).

It is a wrapper for the server side function getLength.

Value

return a numeric value.

Dependencies

getLength

Author(s)

Paula Raissa Costa e Silva

Examples

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

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