displayTable: (internal) Display text file content

Description Usage Arguments Value Methods (by class) Examples

Description

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.

Usage

1
2
3
4
5
displayTable(object, ...)

## S4 method for signature 'Commons'
displayTable(object, ..., file = "",
  data = data.frame())

Arguments

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.

Value

a data frame. The data for display.

Methods (by class)

Examples

 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)

jameslhao/dbgapr_dev documentation built on May 8, 2019, 11:03 p.m.