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

Ggplot2 allows to easily map a variable to an aesthetic. On the left, color and shape depend of a discrete variable (a factor). On the right, we used a continuous (numeric) variable for the mapping. To do so, the color, shape, opacity, size… arguments must be place into the aesthetic part of the code.


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

 


Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz