is.what {gdata}R Documentation

Run Multiple is.* Tests on a Given Object

Description

Run multiple is.* tests on a given object, such as is.numeric(), is.list(), ...

Usage

is.what(object, verbose = FALSE)

Arguments

object any R object.
verbose whether negative tests should be included in output.

Value

A character vector containing positive tests, or when verbose is TRUE, a data frame showing all test results.

Author(s)

Arni Magnusson arnima@u.washington.edu, inspired by demo(is.things).

See Also

is.na and is.numeric are commonly used tests.

Examples

is.what(pi)
is.what(NA, verbose=TRUE)
is.what(lm(1~1))

[Package gdata version 2.2.0 Index]