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




Boxplot is an R function that represents a numeric vector of data that is split in several groups.

When the number of points in each group is highly different, it can be great to represent it using the width of the box.

First calculate the proportion of each level using the table function. Using these proportions will make the box twice bigger if a level is twice more represented. Then give these proportions to the width function when you call Boxplot.

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


Leave a Reply

Be the First to Comment!

Notify of