For use with xtable
's add.to.row
makerow.Rd
Collapses a vector into a character string separated by "&".
Examples
x <- c("A", 125, "Apple", 0.2, "75g")
makerow(x)
#> [1] "A & 125 & Apple & 0.2 & 75g \\\\"
makerow(x, hline = TRUE)
#> [1] "A & 125 & Apple & 0.2 & 75g \\\\\\hline"