Fwd: Re: scatter plot coloring problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: Re: scatter plot coloring problem

Micha Silver-2

Hi

On 07/20/2018 03:16 PM, PIKAL Petr wrote:
> Hi
>
> Values in conv_df are almost same for each Error level
Thanks to Petr for help in catching this!

>> aggregate(conv_df$Intercept, list(conv_df$Error), mean)
>           Group.1         x
> 1 High CML error -3.226313
> 2  Low CML error -3.226536
> 3  Med CML error -3.226422
>> aggregate(conv_df$Slope, list(conv_df$Error), mean)
>           Group.1        x
> 1 High CML error 8.325558
> 2  Low CML error 8.324242
> 3  Med CML error 8.324721
>> boxplot(split(conv_df$Slope, conv_df$Error))
>> boxplot(split(conv_df$Intercept, conv_df$Error))
>>
> so points in ggplot are overplotted and only colour for last plotted level is visible.

So I used geom_jitter() to get a reasonable looking visualization.

> Cheers
> Petr
>
>

--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918

______________________________________________
[hidden email] 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/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.