We are studying different types of clusterization in R, and for the final task we need to show different graphs together. The ones I chose seem to be of different format, and I tried to look around for possible solutions to show them together, but came up short, probably due to my lack of experience (tried a bunch of options I found in similar questions, but nothing quite worked for me, or maybe I did something wrong).
I understand that there are roundabout ways to do this (which, according to some people, are way less troublesome too), and the prof is actually fine with me choosing only the graphs that are easily joined together, but at this point I want to satisfy my idle curiosity and ask whether there's a way to combine my graphs in R. I apologize if this was answered before, but I would be very grateful for assistance.
The graphs I randomly chose are:
clust1 = autoplot(fanny(xo, 5))
clust2 = autoplot(x_pca, data = x, colour = "region", loadings = TRUE, loadings.label = TRUE, frame = TRUE, frame.type = "norm")
clust3 = rpart.plot(x_tree)
clust4 = plot(as.phylo(x_clust), type = "fan", tip.color = colors(ct))
The first two I easily combined with grid.arrange
, but both trees are giving me trouble. Thank you in advance for any help!