我正在使用来自plotrix
库(版本:3.8-1
)的绘图函数sizetree
。此函数具有一个showcount
参数,允许在图中显示一些带括号的计数(请参见下面的图片)。
但是,当我使用showcount=FALSE
时,计数及其周围的括号为什么不消失呢?是否有办法使它们消失?
h = "
sssss ooooooo ggggg tttt
a 1 1 0
a 2 1 1
b 1 1 0
b 1 2 0
c 2 1 0
c 3 2 1
d 1 1 0
d 1 1 0
e 1 1 0"
h = read.table(text=h,h=T)
library(plotrix)
plotrix::sizetree(h,showcount = FALSE)