add_vis_object: General method to add an object as component to a page of an...

Description Usage Arguments Value

View source: R/vis_objects.R

Description

General method to add an object as component to a page of an i2dashboard object.

Usage

1
add_vis_object(dashboard, object, package, page = "default", title = NULL)

Arguments

dashboard

The i2dashboard.

object

The R visualization object to be added.

package

The name of the R package that defines the class(object).

page

The name of the page to add the object to.

title

An optional component title.

Value

Returns the modified i2dashboard object, if the component was added, otherwise an unmodified i2dashboard object.


loosolab/i2dash documentation built on April 8, 2021, 12:41 a.m.