I use xlab="" to suppress the x-label but still get a 'sub-x-label' in my dendrogram. How can I remove this and remove any extra space under the dendrogram?
require(graphics)
hc <- hclust(dist(USArrests), "ave")
plot(hc,xlab="")
To remove the subtitle use the following:
plot(hc, xlab="", sub="")
To remove the bottom margin (see ?par
for details):
par(mar=c(0, 4, 4, 2)) # c(bottom, left, top, right)
plot(hc, xlab="", sub="")
May be plot(hc,xlab='', sub="")
removes it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With