Learn R Programming

tatoo (version 1.1.2)

print.Mashed_table: Printing Mashed Tables

Description

Printing Mashed Tables

Usage

# 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"),
  ...
)

Value

x (invisibly)

Arguments

x

a Mashed_table

mash_method

either "row" or "col". Should the tables be mashed together with alternating rows or with alternating columns?

insert_blank_row

Only if mashing rows: logical. Whether to insert blank rows between mash-groups. Warning: this converts all columns to character. Use with care.

id_vars

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()