Learn R Programming

dsBase (version 6.3.3)

lengthDS: Returns the length of a vector or list

Description

This function is similar to R function length.

Usage

lengthDS(x)

Value

a numeric, the number of elements of the input vector or list.

Arguments

x

a string character, the name of a vector or list

Author

Demetris Avraam, for DataSHIELD Development Team

Details

The function returns the length of the input vector or list.