Learn R Programming

teal.modules.general (version 0.6.0)

set_chunk_attrs: Set the attributes of the last chunk outputs

Description

Set the attributes of the last chunk outputs

Usage

set_chunk_attrs(
  teal_card,
  attributes,
  n = 1,
  inner_classes = NULL,
  quiet = FALSE
)

Arguments

teal_card

(teal_card) object to modify.

attributes

(list) of attributes to set on the last chunk outputs.

n

(integer(1)) number of the last element of teal_card to modify. it will only change chunk_output objects.

inner_classes

(character) classes within chunk_output that should be modified. This can be used to only change recordedplot, ggplot2 or other type of objects.