Hello,
I was simply doing a graph, but an error repeatdly occurs. Any idea why?
(this only happens in the latest R version, I am a windows user).
Thank you,
Marta
library(Hmisc)
example(xYplot)
xYplot> d <- expand.grid(x = seq(0, 2 * pi, length = 150),
p = 1:3, shift = c(0, pi))
xYplot> xYplot(sin(x + shift)^p ~ x | shift, groups = p, data = d,
type = "l")
Loading required package: grid
Error in xyplot.formula(formula = sin(x + shift)^p ~ x | shift, data =
list( :
argument "x" is missing, with no default