Learn R Programming

crunch (version 1.30.4)

titles: Manipulate deck titles

Description

Crunch slides have titles and subtitles. You can change these features at either the deck level by assigning a character vector which is the same length as the deck to the CrunchDeck, or by assigning character strings to the the slide.

Usage

titles(x)

titles(x) <- value

title(x)

title(x) <- value

subtitles(x, value)

subtitles(x) <- value

subtitle(x, value)

subtitle(x) <- value

# S4 method for CrunchDeck titles(x)

# S4 method for CrunchDeck titles(x) <- value

# S4 method for CrunchDeck subtitles(x)

# S4 method for CrunchDeck subtitles(x) <- value

# S4 method for SlideCatalog titles(x)

# S4 method for SlideCatalog titles(x) <- value

# S4 method for SlideCatalog subtitles(x)

# S4 method for SlideCatalog subtitles(x) <- value

# S4 method for CrunchSlide title(x)

# S4 method for CrunchSlide title(x) <- value

# S4 method for CrunchSlide subtitle(x)

# S4 method for CrunchSlide subtitle(x) <- value

Value

x, modified

Arguments

x

a CrunchDeck or CrunchSlide

value

character, the new title or subtitle

Examples

Run this code
if (FALSE) {
titles(deck)
titles(deck) <- c(new_title1, new_title2)
slide <- deck[[1]]
title(slide) <- "new title"
subtitle(slide) <- "new subtitle"
subtitles(deck)
}

Run the code above in your browser using DataLab