Creates a line-by-line representation of an R object (usually a
Tatoo_table
). This is the function powers all Tatoo_table
print methods.
as_lines(x, color = TRUE, ...)# S3 method for data.frame
as_lines(x, color = TRUE, ...)
# S3 method for Tagged_table
as_lines(x, color = TRUE, ...)
# S3 method for Mashed_table
as_lines(
x,
color = TRUE,
mash_method = attr(x, "mash_method"),
insert_blank_row = attr(x, "insert_blank_row"),
id_vars = attr(x, "id_vars"),
...
)
# S3 method for Stacked_table
as_lines(x, color = TRUE, ...)
# S3 method for Composite_table
as_lines(x, color = TRUE, ...)
# S3 method for Tatoo_report
as_lines(x, color = TRUE, ...)
# S3 method for TT_meta
as_lines(x, color = TRUE, ...)
A character vector (one element per line).
Any R object.
Use colors (via colt)
passed on methods.
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.