View source: R/formato_tablas_cruzadas.R
formato_tablas_cruzadas | R Documentation |
Función para escribir y dar formato a las tablas cruzadas en el workbook
formato_tablas_cruzadas( tabla, wb, renglon = c(1,1), columna = 1, hojas = c(3,4), estilo_encabezado = headerStyle, estilo_total = totalStyle )
tabla |
Lista con las tablas cruzadas formateadas |
wb |
Workbook en el que escribirán las tablas |
renglon |
Renglón donde iniciará la tabla, un renglón por tipo de tabla cruzada |
columna |
Columna en la que se iniciará la tabla |
hojas |
Hojas del workbook en donde se ecribirán las tablas |
estilo_encabezado |
Estilo para el ancabezado de la tabla |
estilo_total |
Estilo para el resto de la tabla |
Bringas Arturo, Rosales Cinthia, Salgado Iván, Torres Ana
survey_mean
## Not run: # Estilos headerStyle <- createStyle( fontSize = 11, fontColour = "black", halign = "center", border = "TopBottom", borderColour = "black", borderStyle = c("thin", "double"), textDecoration = "bold" ) totalStyle <- createStyle(numFmt = "###,###,###.0") formato_tablas_cruzadas( tabla = tabla_cruzada, wb = wb, renglon = c(1, 1), columna = 1, hojas = c(3, 4), estilo_encabezado = headerStyle, estilo_total = totalStyle ) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.