inst/doc/modify_output.R

## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----setup--------------------------------------------------------------------
library(ggdendro)
library(ggplot2)
hc <- hclust(dist(USArrests), "ave")

## ----example-default----------------------------------------------------------
ggdendrogram(hc, rotate = FALSE, size = 2)

## ----example-1----------------------------------------------------------------
ggdendrogram(hc, rotate = FALSE, size = 2) +
  theme_bw()

## ----example-2----------------------------------------------------------------
ggdendrogram(hc, rotate = FALSE, size = 2) +
  theme( axis.line.y = element_line() )

Try the ggdendro package in your browser

Any scripts or data that you put into this service are public.

ggdendro documentation built on May 29, 2024, 6:12 a.m.