Re: [R] data shape

From: tom sgouros <tomfool_at_as220.org>
Date: Thu, 20 Dec 2007 11:36:39 -0500

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

______________________________________________
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.
Received on Thu 20 Dec 2007 - 16:51:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 20 Dec 2007 - 18:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.