0
我有8个变量(X1,X2 ... X8)的数据帧列表离群值在数据帧
我想使用获得的箱线图的离群值:
boxplot(dataframe, plot=FALSE)$out
我的期望输出是让数据框列出每个变量的异常值。具体如下:
variable outlier
x1 outlier1 from x1
x1 outlier2 from x1
x1 outlier3 from x1
x1 outlier4 from x1
x2 outlier1 from x2
x2 outlier2 from x2
x2 outlier3 from x2
.
.
.
x8 outliern from x8
感谢您的支持,