Description Usage Arguments Author(s)
A convenience wrapper to format R code according to CIP standards for R (largely based on H. Wickham/GNU C coding) conventions.
1 | format_code(indent = 2, arrow = TRUE, recursive = TRUE)
|
indent |
integer; 2 spaces indentation |
arrow |
logical; TRUE default means use arrows for assignments |
recursive |
logical; TRUE default means that anything in R code files will be formatted. |
Reinhard Simon
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.