You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vignettes/ggdendro.Rmd
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -34,9 +34,9 @@ library(ggdendro)
34
34
35
35
## Using the `ggdendrogram()` wrapper
36
36
37
-
The `ggdendro` package extracts the plot data from dendrogram objects. Sometimes it is useful to have fine-grained control over the plot. Other times it might be more convenient to have a simple wrapper around `ggplot` to produce a dendrogram with a small amount of code.
37
+
The `ggdendro` package extracts the plot data from dendrogram objects. Sometimes it is useful to have fine-grained control over the plot. Other times it might be more convenient to have a simple wrapper around `ggplot()` to produce a dendrogram with a small amount of code.
38
38
39
-
The function `ggdendrogram` provides such a wrapper to produce a plot with a single line of code. It provides a few options for controlling the display of line segments, labels and plot rotation (rotated by 90 degrees or not).
39
+
The function `ggdendrogram()` provides such a wrapper to produce a plot with a single line of code. It provides a few options for controlling the display of line segments, labels and plot rotation (rotated by 90 degrees or not).
40
40
41
41
```{r dendrogram}
42
42
hc <- hclust(dist(USArrests), "ave")
@@ -113,7 +113,7 @@ if(require(tree)){
113
113
114
114
## Classification tree diagrams
115
115
116
-
The `rpart()` function in package `rpart()` creates classification diagrams. To extract the plot data for these diagrams using `ggdendro` follows the same basic pattern as dendrograms:
116
+
The `rpart()` function in package `rpart` creates classification diagrams. To extract the plot data for these diagrams using `ggdendro` follows the same basic pattern as dendrograms:
0 commit comments