Description Usage Arguments Details Value Examples
Checks whether its argument is a (primitive) function.
1 2 | is.function(x)
is.primitive(x)
|
x |
an R object. |
is.primitive(x)
tests if x
is a primitive function
(either a "builtin"
or "special"
as described for
typeof
)? It is a primitive function.
TRUE
if x
is a (primitive) function, and FALSE
otherwise.
1 2 3 4 | is.function(1) # FALSE
is.function(is.primitive) # TRUE: it is a function, but ..
is.primitive(is.primitive) # FALSE:it's not a primitive one, whereas
is.primitive(is.function) # TRUE: that one *is*
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.