Share the Gallery !Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInEmail this to someone

 

A scatterplot is a graph in which the values of two variables are plotted along two axes, the pattern of the resulting points revealing any correlation present.

It is sometimes important to check the distribution of variables of the X and Y axis. This can be done by adding marginal plots. The ggExtra library allows to do it easily thanks to Dean Attali.

Note that you can custom the size of the marginal width, their features, and show it only for one axis.


Not what you are looking for ? Make a new search !

[mediatagger]

 


Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz