subscript | R Documentation |
Create subscripts
Create superscript
subscript(x, subscript = seq(length(x)), output = c("markdown", "latex"))
superscript(x, superscript = seq(length(x)), output = c("markdown", "latex"))
x |
string |
subscript |
subscript |
output |
Can be |
superscript |
superscript |
text
string
ggdiagram() +
ob_circle(label = ob_label(subscript("X", 1), size = 16)) +
ob_circle(x = 3, label = ob_label(superscript("A", 2), size = 16))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.