1.

A single element of a character vector is referred as ________(a) Character string(b) String(c) Data strings(d) Raw dataI had been asked this question in an online interview.The question is from Basics topic in section History, Overview and Getting Started of R Programming

Answer»

The correct answer is (a) Character string

For EXPLANATION: Single ELEMENT of a character vector is often REFERRED to as a character string. Dates are represented by the Date class and can be coerced from a character string using the as.Date() function. This is a COMMON way to END up with a Date object in R.



Discussion

No Comment Found

Related InterviewSolutions