beautify_terms | R Documentation |
Remove parentheses, replace colons with $\times$
.
Useful to prettify term names in apa_print()
tables.
beautify_terms(x, ...)
## S3 method for class 'character'
beautify_terms(x, standardized = FALSE, retain_period = FALSE, ...)
## S3 method for class 'numeric'
beautify_terms(x, standardized = FALSE, ...)
## S3 method for class 'factor'
beautify_terms(x, standardized = FALSE, ...)
## S3 method for class 'data.frame'
beautify_terms(x, ...)
x |
Character. Vector of term names to be prettified. |
... |
Additional arguments passed to |
standardized |
Logical. If |
retain_period |
Logical. If |
A character vector or data.frame
(if x
is a data.frame
)
containing term names modified for nicer printing.
beautify_terms("a:b")
beautify_terms("scale(x)", standardized = TRUE)
beautify_terms("snake_case")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.