is.what {gregmisc} | R Documentation |
Run multiple is.*
tests on a given object, such as
is.numeric()
, is.list()
, ...
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.
Arni Magnusson arnima@u.washington.edu, 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))