[R] data shape
tom sgouros
tomfool at as220.org
Thu Dec 20 17:36:39 CET 2007
Charilaos Skiadas <cskiadas at gmail.com> wrote:
> > 2. What's the easiest way to read such a data array from a text
> > file?
> > I can do some editing of a csv file produced from the
> > spreadsheet,
> > but don't really know what to aim for.
>
> Here is the code I used to read your example, which I saved as a
> comma-separated file, with the only addition that I added the name
> "Names" to the first column. You will probably need to adjust
> filename, nlocations and rows.per.location.
Thank you very much. This is more than I'd hoped for.
-tom
--
------------------------
tomfool at as220 dot org
http://sgouros.com
http://whatcheer.net
More information about the R-help
mailing list