powered by
Convert vector to table row and back
vector_to_row(cells, asis = FALSE, linebreak = TRUE)row_to_vector(row, asis = FALSE, deparse = TRUE)
row_to_vector(row, asis = FALSE, deparse = TRUE)
vector_to_row returns a LaTeX2 object which could be a row in a tabular object.
vector_to_row
row_to_vector returns a character vector of the deparsed contents of the row, or if deparse is FALSE, a list of the contents.
row_to_vector
deparse
FALSE
A list or vector of cell contents.
If FALSE, add or remove blanks around cell contents.
If TRUE, add a line break marker.
TRUE
A row from a table
Should the result be deparsed?
vector_to_row(1:3) row_to_vector("1 & 2 & content \\\\") row_to_vector("1 & 2 & content \\\\", deparse = FALSE)
Run the code above in your browser using DataLab