asLabel: asLabel

View source: R/utilities-label.R

asLabelR Documentation

asLabel

Description

Set a character string into a Label object associating font properties to input If text is already a Label object, asLabel can be used to update its font properties

Usage

asLabel(text = "", font = NULL)

Arguments

text

A character value

font

A Font object defining the font properties of the Label

Value

A Label object

Examples

title <- "Title of Plot"
title <- asLabel(title)

Open-Systems-Pharmacology/TLF-Library documentation built on Feb. 8, 2025, 11:22 a.m.