is_numeric | R Documentation |
Ask whether x is a numeric object,
nlist_object()
or nlists_object()
.
is_numeric(x)
is_nlist(x)
is_nlists(x)
x |
An object. |
A flag indicating whether x is a numeric object or inherits from S3 class nlist or nlists.
is_nlist()
: Is nlist
is_nlists()
: Is nlists
# is_numeric
is_numeric(list(x = 1))
is_numeric(1)
# is_nlist
is_nlist(1)
is_nlist(list(x = 1))
is_nlist(nlist(x = 1))
# is_nlists
is_nlists(nlist(x = 1))
is_nlists(nlists(nlist(x = 2), nlist(x = 3.5)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.