Description Usage Arguments Value Author(s) Examples
View source: R/ggadonis.table.R
Transform data frame to a ggplot object table, which can be inserted to a ggplot graph
1 |
table |
a data frame table |
a ggplot2 object
Zhonghui Gai
1 2 3 4 5 6 | g <- ggadonis.table(table = adonis.pairwise(iris[,1:4],iris$Species))
ggplot(data = data.frame(x = 1:10, y = 1:10), aes(x,y)) + geom_point() +
theme_bw() +
annotation_custom(grob = g,
xmin = 3,xmax = 8,
ymin = 8,ymax = 8.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.