Re: [R] How to plot a matrix

From: David Winsemius <dwinsemius_at_comcast.net>
Date: Sun, 01 Jun 2008 19:41:05 +0000 (UTC)

ss <affysnp_at_gmail.com> wrote in
news:5032046e0806011041q3136c9dcrafeeeabea55bcbb6_at_mail.gmail.com:

> Hi list,
>
> If I have a matrix,
>

>> a<-read.table("a.txt",header=TRUE,row.names=1)
>> dim(a)

> [1] 4 3
>> a

> x y z
> a1 1 6 3
> a2 2 6 3
> a3 2 3 8
> a4 5 3 4
>>

>
> Can you suggest how to produce a plot like the one attached here?
> Basically, I want to plot each sample (each column) using the dots
> one by one and also have the average value of each column indicated?

Allen;

If you want people to see an image file, you could instead put it in a web-accessible location and send an URL. Attachments are generally scrubbed by the list software.

While you are at it, please read the posting guide which says (in part):

"No binary attachments except for PS, PDF, and some image and archive formats (others are automatically stripped off because they can contain malicious software). Files in other formats and larger ones should rather be put on the web and have only their URLs posted. This way a reader has the option to download them or not."

-- 
David Winsemius

>
> Thank you so much and have a wonderful weekend!
>
> Allen
>
> Attachment decoded: untitled-2.txt
> ------=_Part_27079_1716823.1212342083807
> ______________________________________________
> 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.
>
> Attachment decoded: untitled-3.txt
> ------=_Part_27079_1716823.1212342083807--
______________________________________________ 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 Mon 02 Jun 2008 - 04:19:20 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 Mon 02 Jun 2008 - 04:30:39 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.

list of date sections of archive