Displaying 1 result from an estimated 1 matches for "tp23579998p23580512".
2009 May 17
2
wireframe 3-D problems
Dear All R Users,
I am trying to graph a 3-D graph of simulated data for logit models using
the powerful wireframe command, but I got stuck. Here are the codes:
x <- seq(-4, 4, by=0.01)
y <- seq(-4, 4, by=0.01)
p <- 1/(1+exp(-0.12*x + 0.35*y))
mydata <- cbind(x, y, p)
require(lattice)
wireframe(p~x*y, data=mydata)
and I received the following message:
Error in