[R] Read.table question
Markus Haag
markus_haag at gmx.at
Thu Sep 5 21:26:16 CEST 2002
Hi list members,
i've just started using R. i've just experimented with the functions
of R. Now I want to import data from an Excel spreadsheet (saved as
csv) in the following format
Date AAA AA A
1.12002 20.5% 12% 3%
.
.
.
i used the following command: a <- read.scv2("file.csv", sep=";")
so the import worked fine.
the problem is that everything is stored in the variable a
now i want to extract each series (Date, AAA, AA) and store them into
their own variable. e.g. the values in the AAA column should be stored
into AAA
any ideas on how this shoul be done?
thanks in advance
cheers,
Markus
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list