Learn R Programming

summarytools (version 1.0.1)

what.is: Obtain Extended Properties of Objects

Description

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

Usage

what.is(x, ...)

Arguments

x

Any object.

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

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.

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

class, typeof, mode, storage.mode, dim, length, is.object, otype, object.size, ftype

Examples

Run this code
# NOT RUN {
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