Question: Need help with the wording of code for script. Calculate mean daily return between January and February. (you will need two conditions in your filter()

Need help with the wording of code for script.

Calculate mean daily return between January and February. (you will need two conditions in your filter() function, Date has to be greater than or equal to 1/1/2020 AND less than 3/1/2020, the AND in R is specified with the & sign)

What is the wording for the code in this format data <- filter(data, Date>=as.Date("01-01-2020"))

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 Databases Questions!