Skip to contents

Plots the underlying tree structure used by an ordered_sequence.

Usage

# S3 method for class 'ordered_sequence'
plot(x, ...)

Arguments

x

An ordered_sequence.

...

Passed to the internal tree plotting routine.

Details

Visualizes the internal finger-tree structure used to store ordered entries.

Examples

x <- ordered_sequence("a", "b", "c", keys = c(2, 1, 3))
plot(x)
#> Error in plot_tree(x, ...): Package 'igraph' is required for plot_tree(). Install it with install.packages('igraph').