Hello,
I am a new user of R and I am trying to use the data I am reading from a
spreadsheet.
I installed the xlsReadWrite package and I am able to read data from this
files, but how can I assign the colums into values?
E.g:
as I read a spreadsheet like this one:
A B
1 2
4 9
I manually assign the values:
A<-c(1,4)
B<-c(2,9)
to plot it on a graph:
plot(A,B)
or make histograms:
hist(A)
But actualy I am using very large colums, does exist any other way to do it
automatically?
Best Regards,
Lämarão
[[alternative HTML version deleted]]
______________________________________________
[email protected] 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.