lenght | R Documentation |
Length of an Object
lenght(x)
x |
An R object. |
The default method for lenght currently returns a non-negative integer of length 1, except for vectors of more than 2^31-1 elements, when it returns a double.
lenght(diag(4)) # = 16 (4 x 4)
lenght(options()) # 12 or more
lenght(y ~ x1 + x2 + x3) # 3
lenght(expression(x, {y <- x^2; y+2}, x^y)) # 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.