search for: qdate

Displaying 1 result from an estimated 1 matches for "qdate".

Did you mean: date
2008 Dec 14
1
how to convert factors to numbers
...and splits). I want to read and manipulate the data in R. However, when I use read.table, it treats all of the data as "factors" and I do not know how to treat the data as numbers: > spy<-read.table("c:\\StockData\\SPY.txt") > attach(spy) > names(spy)<-c("QDate","OpenP","HighP","LowP","CloseP","Vol","AdjP") > spy[1,] QDate OpenP HighP LowP CloseP Vol AdjP 1 12/14/2006, 141.86, 143.24, 141.84, 143.12, 64755200, 138.34 > ChangeFromOpen<-spy[1,5]-spy[1,2] Warnin...