Re: [R] Plot table of counts

2008-10-19 Thread Jim Lemon
[EMAIL PROTECTED] wrote: I have a data set which is comprised of counts, that is, the number of times a mass spectrometer measured a particular mass at a particular time (the rows and columns of the table). Is there a way to make a plot so that it draws a square at the mass/time spot on the

Re: [R] Plot table of counts

2008-10-19 Thread Mark Ewing
Thank you for your suggestions - image() produced a plot that worked, I'll be trying out all these other options as well. - Mark Ewing On Sun, Oct 19, 2008 at 4:03 AM, Jim Lemon [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I have a data set which

[R] Plot table of counts

2008-10-18 Thread pofigster
I have a data set which is comprised of counts, that is, the number of times a mass spectrometer measured a particular mass at a particular time (the rows and columns of the table). Is there a way to make a plot so that it draws a square at the mass/time spot on the graphic if there is a count

Re: [R] Plot table of counts

2008-10-18 Thread Greg Snow
. Statistical Data Center Intermountain Healthcare [EMAIL PROTECTED] 801.408.8111 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] project.org] On Behalf Of [EMAIL PROTECTED] Sent: Friday, October 17, 2008 10:44 PM To: R-help@r-project.org Subject: [R] Plot table

Re: [R] Plot table of counts

2008-10-18 Thread Michael Friendly
What is the *question* you want to answer from this table of counts? If it is just to see the density at the combinations of mass and time, an image() plot might work, and NAs in the table for 0s will give empty cells. If you want to see whether there is an association between mass and time, or