Explanation:The POSIXlt class stores date/time values as a list of components (hour, min, sec, mon, etc.) making it easy to extract these parts. 8. Which of the followin code represents internal representation of a Date object ?
A. class(as.Date(“1970-01-02”))
B. unclass(as.Date(“1970-01-02”))
C. unclassint(as.Date(“1970-01-02”))
D. All of the mentioned
Answer:A
Explanation:The POSIXlt class stores date/time values as a list of components (hour, min, sec, mon, etc.) making it easy to extract these parts. 8. Which of the followin code represents internal representation of a Date object ?
A. class(as.Date(“1970-01-02”)) B. unclass(as.Date(“1970-01-02”)) C. unclassint(as.Date(“1970-01-02”)) D. All of the mentioned
Explanation:You can see the internal representation of a Date object by using the unclass() function. 9. What would be the output of the following code ?