I have tried to set parameters of an effects plot with moderate success, but I'm finding that although the plot(effect()) method uses trellis graphics (via the lattice package), not all aspects of the plot can be controlled by standard trellis graphics. I am able to set any parameters that are given in trellis.par.get() easily enough, for example: axis.components <- trellis.par.get("axis.components") axis.components$right$tck <- 0 axis.components$top$tck <- 0 axis.components$left$pad1 <- 2 axis.components$left$pad2 <- 2 trellis.par.set("axis.components", axis.components) but I have been unable to change other axis parameters such as setting the number of ticks on the bottom and left axes. I can do this in a conventional lattice plot such as xyplot xyplot(lar~mdep, data=m1, scales=list( x=list(tck=c(1,0), at=seq(100,max(m1$mdep),100)), y=list(tck=c(1,0), at=seq(0,max(m1$lar)+0.1,0.05)))) but this does not work for effects plots. Any help would be much appreciated.
[[alternative HTML version deleted]] ______________________________________________ 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.