Project Management Answers

If you use the mdy() function in R to convert the string “April 10, 2019”, what will return when you run your code?

Q: If you use the mdy() function in R to convert the string “April 10, 2019”, what will return when you run your code?

or

Q: What will happen when you execute your code after converting the string “April 10, 2019” using R’s mdy() function?

  • “4.10.19”
  • “4/10/2019”
  • “2019-10-4”
  • “2019-4-10”

Explanation: After this piece of code has been executed, the value of the Date object that corresponds to April 10, 2019, will be allocated to the date_object variable. After that, you’ll be able to use this object in R for further analysis or alteration of date-related activities.

Leave a Reply

Your email address will not be published. Required fields are marked *