盒须图显示以下信息:最大值、最小值、平均值、第 75 个百分位、第 25 个百分位。如果我有这些信息,我可以绘制相应的黑白图吗?
我有这个名为 TP.df 的数据框:
pb1 ag1 pb2 ag2 pb3 ag3
Nb 498 498 85 85 68 68
Min 0 0 0 0 0 0
Max 1.72 461 2.641 260.8 0.3 144
Mean 0.06 19.2 0.15 35.35 0.02 9.11
75_p 0.06 20 0.08 33 0.02 8
25_p 0.01 10 0 14 0.01 4
文件:
,pb1,ag1,pb2,ag2,pb3,ag3
Nb,498,498,85,85,68,68
Min,0,0,0,0,0,0
Max,1.72,461,2.641,260.8,0.3,144
Mean,0.06,19.2,0.15,35.35,0.02,9.11
75_p,0.06,20,0.08,33,0.02,8
25_p,0.01,10,0,14,0.01,4
我怎样才能有相应的盒须图:
- 它必须显示 6 个框
- x 轴 :
pb1
,ag1
,pb2
,ag2
,pb3
,ag3
- y轴:
0
到max(TP.df[Max,])