Using Rstudio Create Script Following Instruction Related Use Date Function Create Variab Q37116620

Using Rstudio. Create a script by following the instructionbelow. They are all related.

## Use the `as.Date()` function to create a variable `today`that represents today’s date
## You can pass in a character string of the day you wrote this, oryou can get the current date
## Hint: check documentation for ‘Sys.time’ and ‘Sys.Date’
## Always print your results!
## Note: if you just ‘cat’ a date, it justprints the unix epochnumber. Try to ‘format’ the date like
## cat(format(date))

## Create a variable `anniversary` that represents the 50thanniversary of the first Moon landings (July 20, 2019).
## Make sure to use the `as.Date` function again

## Create a

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.