Create a column for a ggtable
1 |
var |
A character string to specify the variable to displayed on the table. |
header |
A character string to specify the column header to display on the table. |
format_fun |
A function to apply to the values in the column that will generate the values to display on the table. |
width |
A unit value (i.e., unit(2, "cm")) to specificy the width of the column. |
hjust |
A numeric value between 0 (left) and 1 (right) to specify the horizontal justification for the data values. |
x |
A numeric value between 0 (left) and 1 (right) to specify the horizontal position for the data values. |
header_hjust |
A numeric value between 0 (left) and 1 (right) to specify the horizontal justification for the headers. |
header_x |
A numeric value between 0 (left) and 1 (right) to specify the horizontal position for the headers. |
wrap_len |
the target length at which the values in the column should wrap. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.