Description Usage Arguments Examples
This function creates text dendrograms from a list of computational components. It is useful for creating a dendrogram of the the computational components of a listdown object allowing the user to view the components hierarchically.
1 | ld_cc_dendro(x)
|
x |
a named list of computational components |
1 2 3 4 5 6 7 8 9 10 11 | if (require("ggplot2")) {
cc_list <- list(
Linear = ggplot(anscombe, aes(x = x1, y = y1)) + geom_point(),
`Non Linear` = ggplot(anscombe, aes(x = x2, y = y2)) + geom_point(),
`Outlier Vertical`= ggplot(anscombe, aes(x = x3, y = y3)) + geom_point(),
`Outlier Horizontal` = ggplot(anscombe, aes(x = x4, y = y4)) +
geom_point())
ld_cc_dendro(cc_list)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.