Need a help here. Am building a strategy on VWAP and downloading data from
yahoo finance
data<-read.csv("http://ichart.finance.yahoo.com/table.csv?s=INFY.BO&a=08&b=16&c=2008&d=08&e=26&f=2012&g=d&ignore=.csv")
head(data)
Once I do a "head data", I get the last 6 days data.
How do I sort the data in reverse i.e the oldest data first. I could open the
CSV file in excel and sort decending but is there a line in R I could
incorporate to reverse it.
Sean
[[alternative HTML version deleted]]
_______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should
go.