lower and upper quartiles in boxplot in R

后端 未结 3 1182
温柔的废话
温柔的废话 2020-12-06 18:32

I have

X=c(20 ,18, 34, 45, 30, 51, 63, 52, 29, 36, 27, 24)

With boxplot, i\'m trying to plot the quantile(X,0.25)

3条回答
  •  温柔的废话
    2020-12-06 19:08

    One can specify the method for calculating the sample quantile using the type = argument in quantile, but not in boxplot. However, there is an R package on CRAN, qboxplot, that contains a function also called qboxplot (hence qboxplot::qboxplot) that allows one to specify the quantile calculation method using the qtype = argument.

提交回复
热议问题