has_length | R Documentation |
This is a function for the common task of testing the length of an
object. It checks the length of an object in a non-generic way:
base::length()
methods are ignored.
has_length(x, n = NULL)
x |
A R object. |
n |
A specific length to test |
has_length(list())
has_length(list(), 0)
has_length(letters)
has_length(letters, 20)
has_length(letters, 26)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.