[R] reading data and Variance Ratio Tests for Weak-form Market Efficiency

John Kane jrkrideau at yahoo.ca
Sun Oct 14 18:50:50 CEST 2007

--- 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?  

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,

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.

More information about the R-help mailing list