Skip to contents

Add a layout state specification to a trelliscope display

Usage

set_default_layout(
  trdf,
  ncol = 1,
  page = 1,
  sidebar = FALSE,
  visible_filters = NULL
)

Arguments

trdf

A trelliscope data frame created with as_trelliscope_df() or a data frame which will be cast as such.

ncol

Number of columns of panels to show.

page

The page number to show.

sidebar

Should the sidebar be shown?

visible_filters

A vector of variable names to add as visible filters in the sidebar.