Description Usage Arguments Examples
Returns a formatted string that you feed to main, xlab or ylab parameters of a plot Create an expression with superscript for axis labels. Parsed when provided to xlab or ylab of a function.
1 | superscript_in_plots(prefix = "n", sup = "k", suffix = "")
|
prefix |
String before the superscript. |
sup |
Superscripted text. |
suffix |
String after the subscript. |
1 | plot (1, 1, main = superscript_in_plots())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.