f_text | R Documentation |
Equivalent of expr_text()
and expr_label()
for formulas.
f_text(x, width = 60L, nlines = Inf)
f_name(x)
f_label(x)
x |
A formula. |
width |
Width of each line. |
nlines |
Maximum number of lines to extract. |
f <- ~ a + b + bc
f_text(f)
f_label(f)
# Names a quoted with ``
f_label(~ x)
# Strings are encoded
f_label(~ "a\nb")
# Long expressions are collapsed
f_label(~ foo({
1 + 2
print(x)
}))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.