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

 

 

You can cut a continuous variable in several sections, and plot a box for each section.

Here we take the value of “carat” and cut it by 0.5 step. This is done with the cut_width() function.

Learn more about ggplot and boxplots.

 


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

[mediatagger]


Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz