[R] xyplot

Dr. Peter Schlattmann peter.schlattmann at medizin.fu-berlin.de
Fri Nov 7 14:47:14 CET 2003


Dear all,

I am trying to use xyplot inside a function


plotme<-function(dataframe)
{
xyplot(x~y|z,data=dataframe)
}

x,y,z are members of the data frame.

When calling  function

library(lattice)
plotme(dataframe)


nothing happens. (R-1.8.0, SuSe Linux 8.1)



What am I doing wrong? Many thanks in advance

Peter




More information about the R-help mailing list