[R] scatter plot coloring problem

Bert Gunter bgunter@4567 @end|ng |rom gm@||@com
Fri Jul 20 12:28:25 CEST 2018


Nothing attached. The mail server strips most attachments for security.

See the posting guide below and ?dput for how to include data.
+ We need your faulty code also, of course.

Cheers,
Bert



Bert Gunter

"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

On Fri, Jul 20, 2018 at 3:15 AM, Micha Silver <tsvibar using gmail.com> wrote:

> Hello:
>
> I have two data frames (subsetted from a larger one). I am plotting
> scatterplots with ggplot2 and coloring by different variables. When using
> one of the variables "Error" with one of the dataframes "conv_df" only a
> single color is displayed. All the other variables show colors as expected,
> and when applying the same ggplot() functions to the second dataframe,
> colors are correctly applied for all variables.
>
> I'm scratching me head over this for some time. Maybe someone can see what
> I'm missing?
>
> My repex is attached
>
> Thanks
>
> --
> Micha Silver
> Ben Gurion Univ.
> Sde Boker, Remote Sensing Lab
> cell: +972-523-665918
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posti
> ng-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]




More information about the R-help mailing list