Learn R Programming

mcmcplots (version 0.4.3)

.to.greek: Parse strings containing names of greek letters.

Description

Convert character vector with greek letters to an expression suitable for plotting greek symbols in titles and labels.

Usage

.to.greek(instr)

Arguments

instr

a character vector

Value

Parsed representation of the character vector.

See Also

parse

Examples

Run this code
# NOT RUN {
.to.greek(c("alpha", "beta", "mybeta", "YourDelta"))
# }

Run the code above in your browser using DataLab