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

View source: R/vis_objects.R

add_vis_objectR Documentation

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

Description

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

Usage

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.


i2dash documentation built on Sept. 8, 2023, 6:04 p.m.