Description Usage Arguments Value Examples
+
sums two objects of class VarNameCorresp. This method
overloads the operator + and returns a new object of class VarNameCorresp.
The integration is carried out according to the names of the components.
1 2 | ## S3 method for class 'VNC'
e1 + e2
|
e1 |
Object of class VarNameCorresp. |
e2 |
Object of class VarNameCorresp. |
Object of class VarNameCorresp resulting from integrating both VarNameCorresp objects in a single VarNameCorresp object.
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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | library(data.table)
VarList1 <- 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', '', '', '', '', ''),
NonIDQual = c('', 'Market', 'Cod','Var1', 'Var2', ''),
IDDD = c('', '', '', '', '','IEPEntradaPed'),
NumIdEst = c('', '', '', '', '', '.'),
Market = c('', '', '', '', '','1.'),
Cod = c('', '', '', '', '', ''),
Var1 = c('', '', '', '', '', ''),
Var2 = c('', '', '', '', '', ''),
UnitName = c('', '', '', '', '','cp09'),
InFiles = rep('FF', 6)))
VNC1 <- BuildVNC(VarList1)
VarList2 <- 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', '', '', '', '', ''),
NonIDQual = c('', 'Market', 'Cod','Var1', 'Var2', ''),
IDDD = c('', '', '', '', '','IEPEntradaPed'),
NumIdEst = c('', '', '', '', '', '.'),
Market = c('', '', '', '', '','3.'),
Cod = c('', '', '', '', '', ''),
Var1 = c('', '', '', '', '', ''),
Var2 = c('', '', '', '', '', ''),
UnitName = c('', '', '', '', '','cp09'),
InFiles = rep('FF', 6)))
VNC2 <- BuildVNC(VarList2)
VNC1 + VNC2
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.