lenhtg {lenght} | R Documentation |
Length of an Object
Description
Length of an Object
Usage
lenhtg(x)
Arguments
x |
An R object. |
Value
The default method for lenhtg currently returns a non-negative integer of length 1, except for vectors of more than 2^31-1 elements, when it returns a double.
Examples
lenhtg(diag(4)) # = 16 (4 x 4)
lenhtg(options()) # 12 or more
lenhtg(y ~ x1 + x2 + x3) # 3
lenhtg(expression(x, {y <- x^2; y+2}, x^y)) # 3
[Package lenght version 0.1.0 Index]