get.label {timedeppar} | R Documentation |
Construct a plot label from expressions for variables and units
Description
This function produces an expression to label plots from expressions for variables and units and from character strings.
Usage
get.label(var.name, labels = NA, units = NA, t1 = "", t2 = "", t3 = "")
Arguments
var.name |
name of the variable. |
labels |
named vector of expressions encoding variable names with greek letters, sub- and superscripts. |
units |
named vector of expressions encoding units with sub- and superscripts. |
t1 |
optional text (see below). |
t2 |
optional text (see below). |
t3 |
optional text (see below). |
Value
expression of a label of the form: t1 label t2 [unit] t3
label and unit are extracted from the vectors labels
and units
by using the compontents named var.name
[Package timedeppar version 1.0.3 Index]