In the basic R plot, we can use par(mfrow = c(1, 2)) to arrange two graphs in one page. However, it does not work on textplot_wordcloud(). What should I do to juxtapose two wordclouds? Specifically, if I have p1 <- textplot_wordcloud(dfm1) and p1 <- textplot_wordcloud(dfm2), can I put them in one graph with p1 on the left and p2 on the right?
In the basic R plot, we can use
par(mfrow = c(1, 2))
to arrange two graphs in one page. However, it does not work ontextplot_wordcloud()
. What should I do to juxtapose two wordclouds? Specifically, if I havep1 <- textplot_wordcloud(dfm1)
andp1 <- textplot_wordcloud(dfm2)
, can I put them in one graph with p1 on the left and p2 on the right?