Skip to contents

Create a new ggtibble object

Usage

new_ggtibble(x)

Arguments

x

A data.frame with a column named "figure" and "caption", and where the "figure" column is a ggtibble.

Value

The object with a ggtibble class

See also

Other New ggtibble objects: new_gglist()

Examples

new_ggtibble(tibble::tibble(figure = list(ggplot2::ggplot()), caption = ""))
#> # A tibble: 1 × 2
#>            figure caption
#>          <gglist> <chr>  
#> 1 A ggplot object ""