| as.rtable {tern} | R Documentation | 
Convert to rtable
Description
This is a new generic function to convert objects to rtable tables.
Usage
as.rtable(x, ...)
## S3 method for class 'data.frame'
as.rtable(x, format = "xx.xx", ...)
Arguments
x | 
 (  | 
... | 
 additional arguments for methods.  | 
format | 
 (  | 
Value
An rtables table object. Note that the concrete class will depend on the method used.
Methods (by class)
-  
as.rtable(data.frame): Method for converting adata.framethat contains numeric columns tortable. 
Examples
x <- data.frame(
  a = 1:10,
  b = rnorm(10)
)
as.rtable(x)
[Package tern version 0.9.5 Index]