Skip to content

Commit

Permalink
Fixed typo in math.style.exponents
Browse files Browse the repository at this point in the history
  • Loading branch information
hofnerb committed Apr 8, 2016
1 parent 269e9ee commit d3ed83d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions R/summarize.R
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ print.xtable.summary <- function(x, rules = NULL, header = NULL,
booktabs = getOption("xtable.booktabs", TRUE),
sanitize.text.function = get_option(x, "sanitize"),
math.style.negative = getOption("xtable.math.style.negative", TRUE),
math.sytle.exponents = getOption("xtable.math.style.exponents", TRUE),
math.style.exponents = getOption("xtable.math.style.exponents", TRUE),
tabular.environment = getOption("xtable.tabular.environment", "tabular"),
floating = getOption("xtable.floating", FALSE),
latex.environments = getOption("xtable.latex.environments", c("center")),
Expand Down Expand Up @@ -676,7 +676,7 @@ print.xtable.summary <- function(x, rules = NULL, header = NULL,
add.to.row = add.to.row,
sanitize.text.function = sanitize.text.function,
math.style.negative = math.style.negative,
math.sytle.exponents = math.style.exponents,
math.style.exponents = math.style.exponents,
tabular.environment = tabular.environment,
floating = floating,
...)
Expand Down
4 changes: 2 additions & 2 deletions man/xtable_summary.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
booktabs = getOption("xtable.booktabs", TRUE),
sanitize.text.function = get_option(x, "sanitize"),
math.style.negative = getOption("xtable.math.style.negative", TRUE),
math.sytle.exponents = getOption("xtable.math.style.exponents", TRUE),
math.style.exponents = getOption("xtable.math.style.exponents", TRUE),
tabular.environment = getOption("xtable.tabular.environment", "tabular"),
floating = getOption("xtable.floating", FALSE),
latex.environments = getOption("xtable.latex.environments", c("center")),
Expand Down Expand Up @@ -109,7 +109,7 @@
dollar signs for LaTeX tables. Note that the standard default of
\code{\link[xtable]{print.xtable}} is \code{FALSE}.
}
\item{math.sytle.exponents}{
\item{math.style.exponents}{
logical. If \code{TRUE} (default) scientific numers are set as
exponents. See \code{\link[xtable]{print.xtable}} for details.
Note that the standard default of \code{\link[xtable]{print.xtable}}
Expand Down
2 changes: 1 addition & 1 deletion vignettes/papeR_introduction.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ output:
---

<!--
%\VignetteEngine{knitr::knitr}
%\VignetteEngine{knitr::rmarkdown}
%\VignetteIndexEntry{Using papeR with Markdown}
-->

Expand Down

0 comments on commit d3ed83d

Please sign in to comment.