r - different result with boxplot/quantile function

723 views Asked by At

I have created a boxplot with the code

boxplot(X,horizontal = TRUE, axes = FALSE, staplewex = 1, boxwex = 0.05) text(x = boxplot.stats(X[,1])$stats, labels = boxplot.stats(X[,1])$stats, y = 1.04).

However, the results I get from the text/boxplot function are different from then of the quantile(X[,1],0.25) or summarize(X) functions. I think boxplot maybe uses other definitions. But I was confucsed by the boxplot documentation since it is not very readable. Maybe someone can explain the differences to me!

Thank you for your help! Simon

0

There are 0 answers