Learn R Programming

blockr.ggplot (version 0.1.0)

get_theme_function: Get theme function call for a given theme name

Description

Maps theme names to their corresponding ggplot2 function calls. Returns a fallback theme if the requested theme's package is not available.

Usage

get_theme_function(theme_name)

Value

Character string with the theme function call

Arguments

theme_name

Character string naming the theme