Learn R Programming

admiraldev (version 1.2.0)

what_is_it: What Kind of Object is This?

Description

Returns a string describing what kind of object the input is.

Usage

what_is_it(x)

Value

A character description of the type of x

Arguments

x

Any R object

Examples

Run this code
what_is_it("abc")
what_is_it(1L)
what_is_it(1:10)
what_is_it(mtcars)

Run the code above in your browser using DataLab