# | R Documentation |
This function makes copying and pasting the results of the analyses more straightforward.
It adds a pound sign (#
), or equivalent, before displaying each line of the output.
`#`(result, digits = 0, prefix = "#' #")
result |
an object to output |
digits |
the number of digits to display (default = 0) |
prefix |
the prefix added to each line (the default is roxygen friendly) |
test <- runif(3)
test
round(test, digits = 2)
`#`(test, digits = 2)
`#`(test, prefix = "#")
`#`(data.frame(x = test, y = test), digits = 2, prefix = "#")
## Not run:
## do not attempt to round a list:
`#`(list(x = test, y = test), digits = 2, prefix = "#")
## End(Not run)
`#`(list(x = test, y = test), prefix = "#")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.