Learn R Programming

shinyr (version 0.4.2)

detectClass: Detect Class

Description

Detects class of given objects

Usage

detectClass(x)

Value

type of the vector

Arguments

x

a vector

Author

Jayachandra N

Details

detectClass

Examples

Run this code
detectClass(c(1,2,3))
detectClass(c("a","b"))
detectClass(iris$Species)

Run the code above in your browser using DataLab