Displaying 1 result from an estimated 1 matches for "histtst".
Did you mean:
hcstest
2007 Apr 13
3
labels cut partially on hist
Dear List,
I have the following function where I plot on one page a histogram and a boxplot.
I use option labels = TRUE in hist to show labels. However the label on the highest bar in the
histogram is not showing entirely. How can I correct this?
Thanks for any suggestions?
histtst <-
function(n = 100,...){
set.seed(15) # makes rnorm reproducible
par(mfrow = c(2,1))
x <- rnorm(n)
hist(x, labels = TRUE)
boxplot(x, horizontal = TRUE)
}
A.
[[alternative HTML version deleted]]