makerow | R Documentation |
xtable
's add.to.row
Collapses a vector into a character string separated by "&".
makerow(x, hline = FALSE)
x |
A vector or single row of a data frame (which is then converted to a vector within the function) |
hline |
Logical indicating whether a hline is needed after the row |
A single character string
x <- c("A", 125, "Apple", 0.2, "75g")
makerow(x)
makerow(x, hline = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.