更新到R版本3.6.1(并更新了所有软件包之后,我再也无法将hang
参数与plot.dendrogram
结合使用:
data(mtcars) hc <- hclust(dist(mtcars)) plot(hc) # works as expected den <- as.dendrogram(hc) plot(den) # it works plot(den, hang=0.01) # gives bunch of warnings: # Warning messages: # 1: In plot.window(...) : "hang" is not a graphical parameter # 2: In plot.xy(xy, type, ...) : "hang" is not a graphical parameter # 3: In axis(side = side, at = at, labels = labels, ...) : # "hang" is not a graphical parameter # 4: In axis(side = side, at = at, labels = labels, ...) : # "hang" is not a graphical parameter # 5: In title(...) : "hang" is not a graphical parameter
有关哪里出什么问题的任何提示?
version
# _
# platform x86_64-w64-mingw32
# arch x86_64
# os mingw32
# system x86_64, mingw32
# status
# major 3
# minor 6.1
# year 2019
# month 07
# day 05
# svn rev 76782
# language R
# version.string R version 3.6.1 (2019-07-05)
# nickname Action of the Toes
在我更新到R版本3.6.1(并更新了所有软件包之后,我不再可以将hang参数与plot.dendrogram一起使用:data(mtcars)hc
[hang=
是as.dendogram
的自变量,而不是plot.*
的自变量