Re: [R] different colors in a segplot centers (package latticeExtra)

From: Deepayan Sarkar <deepayan.sarkar_at_r-project.org>
Date: Mon, 18 Apr 2011 15:30:22 +0530

On Mon, Apr 18, 2011 at 4:10 AM, barbara costa <rbarbarahc_at_gmail.com> wrote:
> Hi,
> how can I change colors in the centers of my segplot?
> I'm not interested in coloring the lines (Standard error limits) but the
> centers (means)?
>  here's my code:
>
>
> segplot(reorder(factor(Species), MeanBiom)  ~ MinSEBiom + MaxSEBiom ,
> data=dfRatioAftBefBiom, draw.bands = FALSE, centers = MeanBiom,
> col=as.numeric (Commercial.Value))

Try 'col.symbol' instead of 'col'.

-Deepayan



R-help_at_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. Received on Mon 18 Apr 2011 - 10:30:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 18 Apr 2011 - 10:40:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive