[R] manipulating colors in lattice
1-27206531-0-90000491
domi at sun11.ukl.uni-freiburg.de
Wed Apr 17 19:15:40 CEST 2002
Dear R-users,
I use:
$platform
[1] "i386-pc-mingw32"
$arch
[1] "x86"
$os
[1] "Win32"
$system
[1] "x86, Win32"
$status
[1] ""
$major
[1] "1"
$minor
[1] "4.1"
$year
[1] "2002"
$month
[1] "01"
$day
[1] "30"
$language
[1] "R"
I try to repeat the analysis of Jose Pinheiro and Douglas Bates described
in their book: Mixed-Effects Models in S and S-PLUS.
library(lattice)
library(nlme)
data(Orthodont)
plot(Orthodont)
fm1OrthF.lis <- lmList(distance ~ age, data=Orthodont)
plot(intervals(fm1OrthF.lis))
fm1OrthF <- lme(distance ~ age, data=Orthodont, random= ~ 1| Subject)
plot(augPred(fm1OrthF), aspect="xy", grid=TRUE)
My question: How can I manipulate the colours of the different plots, say
changing symbols and lines from light-blue to black?
e.g. plot(Orthodont, col="black") changes only symbols to black and I have
no idea how to change the lines to black.
Thanks in advance,
Dominik
----------------------------------------------------------------------------
Dominik Grathwohl; Bussstr. 34; D-79102 Freiburg
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list