getLength: Length of an Object

Description Usage Arguments Details Value Dependencies Author(s)

Description

Computes the size of a given vector.

Usage

1

Arguments

x

is an R object.

Details

Get or set the length of vectors (including lists) and factors, and of any other R object for which a method has been defined.

For vectors (including lists) and factors the length is the number of elements. For an environment it is the number of objects in the environment, and NULL has length 0. For expressions and pairlists (including language objects and dotlists) it is the length of the pairlist chain. All other objects (including functions) have length one.

Value

a numerical value.

Dependencies

getVarByName

Author(s)

Paula R. Costa e Silva


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