]> git.donarmstrong.com Git - xtable.git/blobdiff - pkg/man/print.xtable.Rd
Added "rotate.rownames" and "rotate.colnames" arguments as suggested by Marcus Loeche...
[xtable.git] / pkg / man / print.xtable.Rd
index 21fb2ce7a1de4fc66acd0fef7eea3d14d568a823..877fc04b358124d145fe673ce0ecff121554ef81 100644 (file)
@@ -2,7 +2,21 @@
 \alias{print.xtable}
 \title{Print Export Tables}
 \description{Function returning and displaying or writing to disk the LaTeX or HTML code associated with the supplied object of class \code{xtable}.}
-\usage{\method{print}{xtable}(x, type="latex", file="", append=FALSE, floating=TRUE, floating.environment="table", table.placement = "ht", caption.placement="bottom", latex.environments=c("center"),tabular.environment = "tabular", size=NULL,hline.after=c(-1,0,nrow(x)), NA.string = "", include.rownames=TRUE, include.colnames=TRUE, only.contents=FALSE, add.to.row=NULL, sanitize.text.function=NULL, sanitize.rownames.function=sanitize.text.function, sanitize.colnames.function=sanitize.text.function, math.style.negative=FALSE, html.table.attributes="border=1", ...)}
+\usage{
+       \method{print}{xtable}(x, type="latex", file="", append=FALSE, floating=TRUE, 
+               floating.environment="table", table.placement = "ht", caption.placement="bottom", 
+               latex.environments=c("center"),tabular.environment = "tabular", size=NULL,
+               hline.after=c(-1,0,nrow(x)), NA.string = "", include.rownames=TRUE, 
+               include.colnames=TRUE, only.contents=FALSE, add.to.row=NULL, 
+               sanitize.text.function=NULL, sanitize.rownames.function=sanitize.text.function,
+               sanitize.colnames.function=sanitize.text.function, math.style.negative=FALSE, 
+               html.table.attributes="border=1", 
+               print.results=TRUE, 
+        format.args=NULL, 
+               short.caption=NULL, 
+               rotate.rownames = FALSE,
+               rotate.colnames = FALSE,
+               ...)}
 \arguments{
   \item{x}{An object of class \code{"xtable"}.}
   \item{type}{Type of table to produce.  Possible values for \code{type} are \code{"latex"} or \code{"html"}.
@@ -14,7 +28,7 @@
                 Default value is \code{FALSE}.}
   \item{floating}{If \code{TRUE} and \code{type="latex"}, the resulting table will be a floating table (using, for example, \code{\\begin\{table\}} and \code{\\end\{table\}}).  See \code{floating.environment} below. Default value is \code{TRUE}.}
   \item{floating.environment}{If \code{floating=TRUE} and \code{type="latex"}, the resulting table uses the specified floating environment.
-  Possible values are \code{"table"} or \code{"sidewaystable"} (defined in the LaTeX package 'rotating').
+  Possible values are \code{"table"}, \code{"table*"}, or \code{"sidewaystable"} (defined in the LaTeX package 'rotating').
                 Default value is \code{"table"}.}
   \item{table.placement}{If \code{floating=TRUE} and \code{type="latex"}, the floating table will have placement given by \code{table.placement} where \code{table.placement} must be \code{NULL} or contain only elements of \{"h","t","b","p","!","H"\}.
                 Default value is \code{"ht"}.}
   \item{sanitize.colnames.function}{Like the \code{sanitize.text.function}, but applicable to column names.  The default uses the \code{sanitize.text.function}.}
   \item{math.style.negative}{In a LaTeX table, if \code{TRUE}, then use $-$ for the negative sign (as was the behavior prior to version 1.5-3).  Default value is \code{FALSE}.}
   \item{html.table.attributes}{In an HTML table, attributes associated with the \code{<TABLE>} tag.  Default value is \code{border=1}.}
+  \item{print.results}{If \code{TRUE}, the generated table is printed to standard output.  Set this to \code{FALSE} if you will just be using the character vector that is returned invisibly.}
+  \item{format.args}{List of arguments for the \code{formatC} function.  For example, standard German number separators can be specified as \code{format.args=list(big.mark = "'", decimal.mark = ","))}.}
+  \item{short.caption}{A "short caption" can be specified that gets used as the table descriptor when LaTeX generates a "List of Tables".}
+  \item{rotate.rownames}{If \code{TRUE}, the row names are displayed vertically in LaTeX.}
+  \item{rotate.colnames}{If \code{TRUE}, the column names are displayed vertically in LaTeX.}
   \item{...}{Additional arguments.  (Currently ignored.)}
 }
 \details{