as-bbplot: as.bbplot

Description Usage Arguments Details Value Author(s)

Description

convert a base plot function to a bbplot object

Usage

1
as.bbplot(fun)

Arguments

fun

a function that plot something in base graphics

Details

the base plot function will be plotted as a canvas and users can apply theme and add layers to it

Value

A bbplot object

Author(s)

Guangchuang Yu


YuLab-SMU/bbplot documentation built on Feb. 11, 2020, 8:25 p.m.