powered by
Tables can be conditionally formatted based on few properties as whether the content is in the first row, last row, first column, or last column, or whether the rows or columns are to be banded.
table_conditional_formatting( first_row = TRUE, first_column = FALSE, last_row = FALSE, last_column = FALSE, no_hband = FALSE, no_vband = TRUE )
apply or remove formatting from the first or last row in the table.
apply or remove formatting from the first or last column in the table.
don't display odd and even rows or columns with alternating shading for ease of reading.
Other functions for table definition: prop_table(), table_colwidths(), table_layout(), table_stylenames(), table_width()
prop_table()
table_colwidths()
table_layout()
table_stylenames()
table_width()
table_conditional_formatting(first_row = TRUE, first_column = TRUE)
Run the code above in your browser using DataLab