The beanplot function uses the base graphics system. This means you can modify all graphics parameters using the par function.
# Save graphics parameters, setup 1x2 figure for the next plot
opar <- par(mfrow = c(1,2), cex.lab=1, cex.main=1)
beanplot(rnorm(22), rnorm(22), rnorm(22), main="Test!", rnorm(3), xlab="X-label")
# Change the size of the title and x-axis label
par(cex.lab=2, cex.main=3)
beanplot(rnorm(22), rnorm(22), rnorm(22), main="Test!", rnorm(3), xlab="X-label (x2)")
# Return to the previous state
par(opar)
The
beanplot
function uses the base graphics system. This means you can modify all graphics parameters using thepar
function.