Insert one huxtable into another.
These functions combine two huxtables or similar objects and return the result.
add_rows(x, y, after = nrow(x), copy_cell_props = TRUE) add_columns(x, y, after = ncol(x), copy_cell_props = TRUE)
x, y |
Huxtables or objects that can be converted by as_hux |
after |
Row or column after which |
copy_cell_props |
Logical. Passed to |
Arguments in ...
can include copy_cell_props
.
A huxtable.
insert_row()
and insert_column()
, which insert
multiple values into a single row.
ht <- hux("Gooseberry", 2.15) add_rows(jams, ht) add_rows(jams, ht, after = 1) mx <- matrix( c("Sugar", "50%", "60%", "40%", "Weight (g)", 300, 250, 300), 4, 2) add_columns(jams, mx)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.