condense | R Documentation |
Useful for saving space with summary tables created by continuous_table()
,
discrete_table()
, ticked_table()
or ae_table()
.
condense(
df,
first_col = variable,
second_col = scoring,
third_col,
hline = TRUE,
double.header = TRUE,
indent = "quad"
)
df |
a data frame containing at least one column with repeated values. |
first_col |
variable name of the column to collapse into - should contain
repeated values. Default is |
second_col |
variable name of the column to be collapsed into
|
third_col |
Optionally, a third column to be collapsed into |
hline |
Logical indicating whether |
double.header |
Logical indicating whether |
indent |
Character indicating the type of indent to use (the default is
|
continuous_table(df = iris, Petal.Length, Petal.Width, group = Species) %>%
condense()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.