The plot.augPred
function in nlme is based on xyplot
in the lattice package(see the help page for plot.augPred
for more info), so you would have to delve into that package a bit more to see what you can add to change the plot. There is a fair amount of info out there once you start looking, see this link and the help page of xyplot
and panel.xyplot
as possible starting places.
If it was me and I wanted to make a bunch of changes to the defaults, I'd probably just use the output from the augPred
object and create a plot from scratch. But you can certainly control the plot settings via the par.settings
argument from xyplot
.
Here is an example, using the plot.augPred
help page example. Consider including a reproducible example in the future.
library(nlme)
fm1 <- lme(Orthodont)
plot(augPred(fm1, level = 0:1, length.out = 2))

You can control colors line widths with superpose.line
and plot.symbol
to control the symbols. If you want to get rid of the symbols all together you can set pch
to NA
.
plot(augPred(fm1, length.out = 2, level = c(0,1)),
par.settings = list(superpose.line = list(col = c("red", "blue"), lwd = 2),
plot.symbol = list(pch = NA)))

Notice this failed to change the legend output, though, and so still needs some work.