tableAdd | R Documentation |
This functions add values from a certain function to the beggining or end of a table.
tableAdd(x, side = c(1, 4), FUN = sum, label = "Total", ...)
x |
|
side |
Indicates the side (1: bottom, 2: left, 3: top, 4: right) for adding info. |
FUN |
a function (or name of a function) to be applied. The indicated function
must return |
label |
What name do you want to use for extra column/row? |
... |
Extra arguments passed to |
Same class object of x
.
tableAdd(x = mtcars)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.