R/vis_objects.R
add_vis_object.Rd
General method to add an object as component to a page of an i2dashboard object.
add_vis_object(dashboard, object, package, page = "default", title = NULL)
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. |
Returns the modified i2dashboard object, if the component was added, otherwise an unmodified i2dashboard object.