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 how the distributions for different masses change over time,
mosaic() from the vcd package is worth exploring.
-michael
[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 graphic if there is a count and leave it empty if
it's empty?
______________________________________________
R-help@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.
______________________________________________
R-help@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.