This function is a wrapper to the standard
boxplot() function in the graphics package. It adds detail to the stored object so that a better text description can be formulated using the
VI() method in the BrailleR package.
a numeric variable.
additional arguments passed on to the plotting function.
This function masks the function of the same name in the graphics package. The base R implementation does create an object, but does not give it a class attribute, the object does not store all graphical arguments that are passed to the
boxplot() function. The functionality should be no different at all for anyone who is not using the
VI() function to gain a more detailed text description of the boxplot. See the help page for the
graphics::boxplot() function to get a more complete description of boxplot creation.
An object of class boxplot.
I would love to see this function become redundant. This will happen if the extra functionality is included in the
boxplot() function in the graphics package. This should be possible as the user experience will not be any different, no matter if the user is blind or sighted.
A. Jonathan R. Godfrey
The problem of not including class attributes for graphs was identified in: Godfrey, A.J.R. (2013) ‘Statistical Software from a Blind Person's Perspective: R is the Best, but we can make it better’, The R Journal 5(1), pp73-79.
The base R implementation of the
boxplot function should be consulted; see the entry in the graphics package
1 2 3 4 5 6 7 8 9 10 11 12 13
x=rnorm(1000) # the stamdard boxplot function returns MyBoxplot=graphics::boxplot(x, main="Example boxplot (graphics package)") #dev.off() MyBoxplot # while this version returns MyBoxplot=boxplot(x, main="Example boxplot (BrailleR package)") #dev.off() MyBoxplot # The VI() method then uses the extra information stored VI(MyBoxplot)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.