# NOT RUN {
### tabla simple ###
calculate_tabulates(base = toybase_individual_2016_04,x = 'REGION', y = 'CH04',
weights = 'PONDERA')
### para ver los totales por fila ###
calculate_tabulates(base = toybase_individual_2016_04,x = 'REGION', y = 'CH04',
weights = 'PONDERA', add.totals = 'row')
### para ver los totales por columna ###
calculate_tabulates(base = toybase_individual_2016_04,x = 'REGION', y = 'CH04',
weights = 'PONDERA', add.totals = 'col')
### para ver porcentajes por fila ###
calculate_tabulates(base = toybase_individual_2016_04,x = 'REGION', y = 'CH04',
weights = 'PONDERA', add.percentage ='row')
# }
Run the code above in your browser using DataLab