How to calculate the monthly average from daily data

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to calculate the monthly average from daily data

Subhamitra Patra
Dear R-users,

I have daily data from 03-01-1994 to 03-08-2017. In my datafile, The first
column is date and the second and third columns are the returns and volume
data. I want to estimate the average returns, and volumes for each month,
then, I want to export the results into excel.

So please help me in this regard.

Please find the attached datasheet.

Thank you.

--
*Best Regards,*
*Subhamitra Patra*
*Phd. Research Scholar*
*Department of Humanities and Social Sciences*
*Indian Institute of Technology, Kharagpur*
*INDIA*

[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
09/12/19,
03:40:34 PM
______________________________________________
[hidden email] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.