Description Usage Arguments Value Methods (by class) Examples
The method displays the input data frame as a data table through a platform specific table viewer. The data frame is either input directly as a function argument or through an input data file of rds, csv, or json format.
1 2 3 4 5 | displayTable(object, ...)
## S4 method for signature 'Commons'
displayTable(object, ..., file = "",
data = data.frame())
|
object |
Commons class object. |
... |
There are optional arguments. |
file |
a character string. (optional) The path to the data file to display in rds, csv, or json format. |
data |
a data frame. (optional) The data to display. |
a data frame. The data for display.
Commons
: A method of class Commons
1 2 3 4 5 6 7 8 9 10 | ## Not run:
c <- Commons()
df <- readRDS(data_dic.rds)
displayTable(c, data = df)
displayTable(c, file = 'data_dic.json')
displayTable(c, file = 'data_dic.csv')
displayTable(c, file = 'data_dic.rds')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.