Jasim Al-AJmi
2007-Oct-13 19:33 UTC
[R] reading data and Variance Ratio Tests for Weak-form Market Efficiency
Dear Rhelp I am first time user of R and I have the following questions: 1. How I can load my data (it is a matrix 10x1618) with the titles of the variables in the first row? 2. How I can run vrtest to calculate Variance Ratio Tests for Weak-form Market Efficiency? Thanks in advance. Jasim ____________________________________________________________________________________ the tools to get online. [[alternative HTML version deleted]]
John Kane
2007-Oct-14 16:50 UTC
[R] reading data and Variance Ratio Tests for Weak-form Market Efficiency
--- Jasim Al-AJmi <jasimalajmi at yahoo.com> wrote:> Dear Rhelp > > I am first time user of R and I have the following > questions: > > 1. How I can load my data (it is a matrix 10x1618) > with the titles of the variables in the first row?You probably should give us some more infromation about the problem. How is the data stored: text file, spreadsheet, database? help("read.table") or ?read.table for a start. However with a csv file try something like cat, dog, bird 3, 4, 3 2, 7, 5 mydata <- read.table("junk.csv", header=TRUE, sep=",") should work. ____________________________________________________________________________________> > the tools to get online. > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at 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. >