Learn R Programming

textAnnotatoR (version 1.0.1)

add_theme: Add theme to code hierarchy

Description

Adds a new theme to the code hierarchy tree. Themes can be used to organize and group related codes in a hierarchical structure.

Usage

add_theme(node, theme_name, description = "")

Value

Updated node with new theme added

Arguments

node

Root node of the hierarchy tree

theme_name

Character string specifying the name of the new theme

description

Optional character string providing a description of the theme