Printing Mashed Tables
# S3 method for Mashed_table
print(
x,
mash_method = attr(x, "mash_method"),
insert_blank_row = attr(x, "insert_blank_row"),
id_vars = attr(x, "id_vars"),
...
)
x
(invisibly)
a Mashed_table
either "row"
or "col"
. Should the tables be mashed
together with alternating rows or with alternating columns?
Only if mashing rows: logical. Whether to insert blank rows between mash-groups. Warning: this converts all columns to character. Use with care.
Only if mashing columns: one ore more colnames of the tables
to be mashed. If supplied, columns of both input tables are combined with
merge()
, otherwise cbind()
is used.
passed on to print()