Question: Using the R script, answer the following questions. Assign the name TODAY to todays date using Sys.Date() in the following format: 01/25/2020. a) Print TODAY

Using the R script, answer the following questions.

Assign the name TODAY to todays date using Sys.Date() in the following format: 01/25/2020.

a) Print TODAY (You need to type TODAY. Then, your result should be of the desired format, which is Month as a number/Day as a number/4-digit year). What is the class of TODAY?

b) The class of TODAY in a) is NOT "Date". Please convert it to the class "Date" and assign the name TODAY.DATE. Then, show the class of TODAY.DATE.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!