tabular | R Documentation |
modified version of func in help section on formatting in roxygen2 package
tabular(df, ...)
df |
data.frame required |
... |
optional parameters passed through to lapply(df, format, ...) |
Returns text that can be pasted into documentation of a function or data in a package
Help on formatting in roxygen2
tabular(mtcars[1:5, 1:5])
tabular(df = data.frame(a=7:16, b='stuff', c=999, d=c('blah','junk')) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.