View source: R/utils_rtables.R
as.rtable | R Documentation |
rtable
This is a new generic function to convert objects to rtable
tables.
as.rtable(x, ...)
## S3 method for class 'data.frame'
as.rtable(x, format = "xx.xx", ...)
x |
( |
... |
additional arguments for methods. |
format |
( |
An rtables
table object. Note that the concrete class will depend on the method used.
as.rtable(data.frame)
: Method for converting a data.frame
that contains numeric columns to rtable
.
x <- data.frame(
a = 1:10,
b = rnorm(10)
)
as.rtable(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.