show-VNC-method: Show an object of class VNC

Description Usage Arguments Value Examples

Description

The method show shows the slots of an object VNC limiting the number of columns on screen up to 8.

It is indeed the method show adapted to the class VNC.

Usage

1
2
## S4 method for signature 'VNC'
show(object)

Arguments

object

Object of class VNC.

Value

Invisible object of class NULL.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# A trivial example
show(VNC())

# A more elaborate example
library(data.table)
VarList <- list(
  ID = data.table(IDQual = c('NumIdEst', rep('', 4)),
                  NonIDQual = rep('', 5),
                  IDDD = c('', 'Name', 'Surname', 'PostalAddr', 'PhoneNo'),
                  NumIdEst = c('', rep('.', 4)),
                  UnitName = c('numidest', 'nombre', 'apellidos', 'direccion', 'telefono'),
                  InFiles = rep('FI', 5)),
  MicroData = data.table(IDQual = c('NumIdEst', rep('', 2)),
                         NonIDQual = c('', 'Market', ''),
                         IDDD = c(rep('', 2), 'NewOrders'),
                         NumIdEst = c(rep('', 2), '.'),
                         Market = c(rep('', 2), '1.'),
                         UnitName = c('numidest', '', 'cp09'),
                         InFiles = rep('FF', 3)),
 ParaData = data.table(IDQual = character(0), 
                       NonIDQual = character(0), 
                       IDDD = character(0),
                       UnitName = character(0),
                       InFiles = character(0)))
VNC <- BuildVNC(VarList)
show(VNC)

david-salgado/StQ documentation built on Aug. 12, 2021, 3:23 p.m.