paste_paren | R Documentation |
If only 'x' is provided, it wraps the value in parentheses (e.g., 10.12 becomes "10.12"). If 'x' and 'y' are both provided, it combines the two numbers (e.g., 10.12 and 2.22) by wrapping the latter in parentheses (e.g., 10.12(2.22)). This part of the function was made to streamline the creation of tables that include cells formatted mean(sd).
paste_paren(x, y)
x |
a scalar or an atomic vector. |
y |
a second scalar or atomic vector that will be wrapped in parentheses. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.