RE: Which R function should you use to get the variable type?

Which R function should you use to get the variable type?

Kiran Patil Asked on September 22, 2017 in R.
Add Comment
1 Answers

Class() function is used for getting type of variable

Example  :-

x <- 10

class(x)

# “numeric”

Answered on September 25, 2017.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.