| is.what | R Documentation |
Run multiple is.* tests on a given object: is.na,
is.numeric, and many others.
is.what(object, verbose=FALSE)
object |
any R object. |
verbose |
whether negative tests should be included in output. |
A character vector containing positive tests, or when verbose
is TRUE, a data frame showing all test results.
The following procedure is used to look for valid tests:
Find all objects named is.* in all loaded environments.
Discard objects that are not functions.
Include test result only if it is of class "logical",
not an NA, and of length 1.
Arni Magnusson, inspired by demo(is.things).
is.na and is.numeric are commonly used
tests.
is.what(pi)
is.what(NA, verbose=TRUE)
is.what(lm(1~1))
is.what(is.what)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.