Description Usage Arguments Details
table_labeller
returns a function which can be used as the label
parameter in scale_x_discrete
or scale_y_discrete
.
1 2 3 4 5 6 | table_labeller(
.data,
axis_col,
selected_cols = colnames(.data),
col_widths = NULL
)
|
.data |
Data containing both the x/y aesthetic of the original data, as well as the columns which should be included in the table. |
axis_col |
Character. The name or index of the column used for the x or y aesthetic. |
selected_cols |
Character. The columns which should be used in the table. |
col_widths |
Numeric vector. The desired width (in characters) of each column. |
This function is not usually used directly, but is called from axis_table
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.