[R] colouring locfit bands

Stuart Leask Stuart.Leask at nottingham.ac.uk
Fri Apr 30 14:25:40 CEST 2010


Hi there. 

If I plot simultaneous confidence bands:
plot(locfitObject.lf, band='l', col=4)

While I can colour the locfit plot line (as above), the confidence bands
always come out black.

Can anyone tell me how to colour the confidence bands - at least, to the
same colour that I specify for the locally-fitted estimate line?

Stuart

Dr Stuart J Leask DM FRCPsych MA BChir
Clinical Senior Lecturer and Honorary Consultant in Clinical Psychiatry
University Dept of Psychiatry, A Floor, Queen's Medical Centre,
Nottingham. NG7 2UH
www: Google "Dr Stuart Leask"
 
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.


More information about the R-help mailing list