[R] manipulating colors in lattice

About this list Date view Thread view Subject view Author view Attachment view

From: 1-27206531-0-90000491 (domi@sun11.ukl.uni-freiburg.de)
Date: Thu 18 Apr 2002 - 03:15:40 EST


Message-id: <Pine.SOL.4.21.0204171911440.25698-100000@sun11.ukl.uni-freiburg.de>

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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Wed 16 Oct 2002 - 11:57:12 EST