tfluctile.Rd
Plots a fluctuation diagram via fluctile and adds dendrograms for the rows and columns to it.
tfluctile(x, tree = NULL, dims = c(1, 2), tw = 0.2, border = NULL, shape = "r", dir = "b", just = "c", tile.col = hsv(0.1, 0.1, 0.1, alpha = 0.6), bg.col = "lightgrey", vp = NULL, lab.opt = list(), …)
x | The two-way table or matrix with the data. |
---|---|
tree | A list with tree objects. This may be NULL or will be disregarded if |
dims | If |
tw | The proportion of the total space to the left and at the top which is used for the dendrogram. |
border | How much space is left white around the dendrogram. |
shape | Instead of rectangles ( |
dir | The bar/rectangle direction: |
just | A shortcut version of the argument used in grid for the anchorpoint of the rectangles: |
tile.col | The tile color. |
bg.col | A background color for the cells. |
vp | A viewport to which the plot should be added or |
lab.opt | A list with options for the labels. Currently |
… | further args |
# NOT RUN { library(amap) hc1 <- hcluster(t(plants[,-1]), method="manhattan", link = "ward") hc2 <- hcluster(t(plants[,-1]), method="manhattan", link = "complete") hclist <- list(hc1, hc2) tfluctile( tt<-optile(hclist, k= c(8,8) ) ) s1 <- subtree(hc1, k = 12) s2 <- subtree(hc2, k = 10) tfluctile( table(s1$data, s2$data), tree = list(s1,s2)) # }