Learn R Programming

i2dash (version 0.2.4)

add_vis_object: 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)

Value

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

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.