typeof {base}R Documentation

The Type of an Object

Description

typeof determines the (R internal) type or storage mode of any object x. It returns a character string.

Usage

typeof(x)

See Also

mode, storage.mode.

Examples

typeof(2)
mode(2)

[Package Contents]