i2dashboard-methods: Accessor methods for slots of an i2dashboard object.

interactivityR Documentation

Accessor methods for slots of an i2dashboard object.

Description

Getter and Setter methods can be used to directly manipulate properties (slots) of an i2dashboard object. See i2dashboard for details.

Usage

interactivity(dashboard)

interactivity(dashboard) <- value

title(dashboard)

title(dashboard) <- value

author(dashboard)

author(dashboard) <- value

theme(dashboard)

theme(dashboard) <- value

datadir(dashboard)

datadir(dashboard) <- value

share(dashboard)

share(dashboard) <- value

embed_source(dashboard) <- value

source(dashboard)

source(dashboard) <- value

## S4 method for signature 'i2dashboard'
interactivity(dashboard)

## S4 replacement method for signature 'i2dashboard'
interactivity(dashboard) <- value

## S4 method for signature 'i2dashboard'
title(dashboard)

## S4 replacement method for signature 'i2dashboard'
title(dashboard) <- value

## S4 method for signature 'i2dashboard'
author(dashboard)

## S4 replacement method for signature 'i2dashboard'
author(dashboard) <- value

## S4 method for signature 'i2dashboard'
theme(dashboard)

## S4 replacement method for signature 'i2dashboard'
theme(dashboard) <- value

## S4 method for signature 'i2dashboard'
datadir(dashboard)

## S4 replacement method for signature 'i2dashboard'
datadir(dashboard) <- value

## S4 method for signature 'i2dashboard'
share(dashboard)

## S4 replacement method for signature 'i2dashboard'
share(dashboard) <- value

## S4 method for signature 'i2dashboard'
source(dashboard)

## S4 replacement method for signature 'i2dashboard'
source(dashboard) <- value

## S4 replacement method for signature 'i2dashboard'
embed_source(dashboard) <- value

Arguments

dashboard

A i2dashboard.

value

The value of the desired property. See i2dashboard for details.

Value

The Getter methods return the value of the respective slot of the i2dashboard object. The Setter methods return the i2dashboard object containing the modified slot.

Examples

dashboard <- i2dashboard()

title(dashboard) <- "New dashboard title"
author(dashboard) <- "John Doe"
theme(dashboard) <- "cosmo"
datadir(dashboard) <- "path/to/workdir/"
interactivity(dashboard) <- TRUE
share(dashboard) <- "menu"
embed_source(dashboard) <- TRUE
source(dashboard) <- "www.url_to_souce_code.net"


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