sounds like you are referring to library(effects)...in which case try: plot(effect("x1", model), color="red")
________________________________ From: David Winsemius <dwinsem...@comcast.net> To: karine heerah <karine.hee...@hotmail.fr> Cc: "r-help@r-project.org" <r-help@r-project.org> Sent: Sunday, January 12, 2014 8:35 PM Subject: Re: [R] how to change the color of the regression line when using effect function On Jan 12, 2014, at 7:26 PM, karine heerah wrote: > Hi all, > Do you know how to change the color of the regression line, confidence > interval etc. when plotting the "effect" function: > plot(effect("explanatory varible", model.name),xlab,ylab....) > I tried to include the "col" argument of the plot function but it didn't work. > Thanks,Karine                  >    [[alternative HTML version deleted]] > A) You should post in plain text. B) You should precede your code with a library() call that loads the package where the effect() function resides. This is especially needed when the name "effect" is such a ubiquitous word in statstical documentation: > ?effect No documentation for âeffectâ in specified packages and libraries: you could try â??effectâ Even trying ??"effect" was not very helpful. -- David Winsemius Alameda, CA, USA ______________________________________________ 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. [[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.