Newbie question sorry (have tried the help pages I promise)

 

I have a dataframe (date,stockprice) say and looking how I might get the
return of: dataframe (difference in days, change in stock price) using
sapply - I require a very simple function and don't really want to go down
the zoo and quant mod route

 

Regards

 

glenn


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
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.

Reply via email to