Learn R Programming

summarytools (version 1.1.3)

what.is: Obtain Extended Properties of Objects

Description

Combination of most common “macro-level” functions that describe an object.

Usage

what.is(x, ...)

Value

A list with following elements:

properties

A data frame with the class(es), type, mode and storage mode of the object as well as the dim, length and object.size.

attributes.lengths

A named character vector giving all attributes (c.f. “names”, “row.names”, “class”, “dim”, and so forth) along with their length.

extensive.is

A character vector of all the identifier functions. (starting with “is.”) that yield TRUE when used with x as argument.

function.type

When x is a function, results of ftype are added.

Arguments

x

Any object.

...

Included for backward-compatibility only. Has no real use.

Author

Dominic Comtois, dominic.comtois@gmail.com

Details

An alternative to calling in turn class, typeof, dim, and so on. A call to this function will readily give all this information at once.

See Also

Examples

Run this code
what.is(1)
what.is(NaN)
what.is(iris3)
what.is(print)
what.is(what.is)

Run the code above in your browser using DataLab