trelliscopejs (version 0.1.13)

panel: Panel Wrapper Function Wrapper function to specify a plot object for a panel for use in dplyr summarise()

Description

Panel Wrapper Function Wrapper function to specify a plot object for a panel for use in dplyr summarise()

Usage

panel(x)

Arguments

x

a plot object

Examples

Run this code
# NOT RUN {
library(rbokeh)
library(dplyr)
ggplot2::mpg %>%
  group_by(manufacturer, class) %>%
  summarise(
    panel = panel(
      figure(xlab = "City mpg", ylab = "Highway mpg") %>%
        ly_points(cty, hwy)))
# }

Run the code above in your browser using DataCamp Workspace