Displaying 1 result from an estimated 1 matches for "bocplo".
Did you mean:
bocplot
2009 Oct 27
0
boxplot using grid
...)
if(On != 0){
grid.points(x = rep(unit(0.5, "npc")), y = O)
}
}
# Code run
x <- rnorm(100)
pushViewport(plotViewport())
pushViewport(dataViewport(yData = x, xscale = c(0, 1)))
grid.yaxis()
bxplt(x)
Additionally, some people might be wondering why I am reimplementing the bocplo using grid. The reason is that I need to annotate the plot with something a little more elegant than arrows... I wrote the following function, which seems to work, but I'm not even sure how I'll get it to work with the above.
# Bracket function
Brack <- function(label, x = 0.5, y = 0.5)...