View source: R/zz-api-huxtable-utils.R
fit_col_widths | R Documentation |
Widths are based on dataframe or huxtable content ignoring rowspans and potential for wrapping.
fit_col_widths(table)
table |
a table to get column content widths for. |
a vector of column widths
library(tidyverse)
iris %>% fit_col_widths()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.