plotly_key_tree: Plot nesting structures in shared tsibbles using plotly

View source: R/dendro.R

plotly_key_treeR Documentation

Plot nesting structures in shared tsibbles using plotly

Description

Plot nesting structures in shared tsibbles using plotly

Usage

plotly_key_tree(data, height = NULL, width = NULL, ...)

Arguments

data

A shared tsibble.

height

height

width

width

...

arguments supplied to subplot()

Examples

if (interactive()) {
  shared_tourism <- as_shared_tsibble(tourism_monthly,
    spec = (State / Region) * Purpose)
  plotly_key_tree(shared_tourism)
}

earowang/tsibbletalk documentation built on Sept. 18, 2023, 10:58 a.m.