View trelliscope info of a trelliscope data frame
Arguments
- trdf
A trelliscope data frame created with
as_trelliscope_df()
or a data frame which will be cast as such.
Examples
library(ggplot2)
library(dplyr)
panel_dat <- (
ggplot(gap, aes(year, life_exp)) +
geom_point() +
facet_panels(~country + continent)
) |>
as_panels_df()
trell <- panel_dat |>
as_trelliscope_df(name = "life expectancy", path = "gapminder") |>
set_default_layout(ncol = 4)
show_info(trell)
#> A trelliscope display
#> • Name: "life expectancy"
#> • Description: "life expectancy"
#> • Tags: none
#> • Key columns: "country" and "continent"
#> • Path: "gapminder"
#> • Number of panels: 142