odfTable(x, ...)
"odfTable"(x, horizontal = length(x) < 5, colnames = names(x), digits = max(3, getOption("digits") - 3), name = paste("Table", floor(runif(1) * 1000), sep = ""), styles = NULL, ...)
"odfTable"(x, horizontal = length(x) < 5, colnames = names(x), name = paste("Table", floor(runif(1) * 1000), sep = ""), styles = NULL, ...)
"odfTable"(x, colnames = NULL, useRowNames = TRUE, digits = max(3, getOption("digits") - 3), name = paste("Table", floor(runif(1) * 1000), sep = ""), styles = NULL, cgroup = NULL, rgroup = NULL, ...)
"odfTable"(x, colnames = NULL, useRowNames = TRUE, digits = max(3, getOption("digits") - 3), name = paste("Table", floor(runif(1) * 1000), sep = ""), styles = NULL, cgroup = NULL, rgroup = NULL, ...)format.tableStylescolnames argument.
The second column should be a numeric vector specifying the column span for the
corresponding element of the first column.
The sum of the second column must be equal to the number of columns in x,
plus one, if useRowNames is true and x actually has row names.
If there is a third column, it should contain the names of paragraph styles to use.
If there is a fourth column, it should contain the names of cell styles.
In the absence of these columns, the cgroupText and cgroupCell
elements of the styles argument will be used.x.
If there is a third column, it should contain the names of paragraph styles to use.
If there is a fourth column, it should contain the names of cell styles.
In the absence of these columns, the rgroupText and rgroupCell
elements of the styles argument will be used.format.format.
The justify and trim arguments to format are usually
overridden by the table style options, so those arguments are automatically set
to justify = "none" and trim = TRUE. However, if values of these
arguments are passed using the three dots, format will use them (but they
probably won't do anything).When using odfTable in a code chunk, the chunk's results
argument should be set to xml.
The document formatting.odt in the package's examples directory illustrates the process of changing the appearance of the table.
tableStyles