Skip to content
Prev 244925 / 398502 Next

from table to matrix

OK well I don't mean to "hijack" Jessica's thread with a tangent on graphics
and plots, but I'm still having some trouble. I'm a total newbie here so if
the correct etiquette would be for me to start a new thread at this point
then please do advise me!!

The code I'm now trying to run is:

library(lattice)
df <- read.table("data", sep="\t", header=TRUE)

levelplot(df$z ~ df$x * df$y)

It seems to run OK but I don't seem to be getting any output... I'm running
the latest R on OS X. All the "normal" plotting functions, e.g. standard
plot() seem to work fine and display in a Quartz window, but when I run this
I'm not getting anything =/

Any tips?

Jonathan