diff --git a/404.html b/404.html index bccedd3..59c6f70 100644 --- a/404.html +++ b/404.html @@ -24,7 +24,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/articles/HTML.html b/articles/HTML.html index 6454847..36740e1 100644 --- a/articles/HTML.html +++ b/articles/HTML.html @@ -26,7 +26,7 @@ tables - 0.9.27 + 0.9.28 @@ -575,12 +575,12 @@ Fine tuning</style>", doCSS = TRUE) tab - + diff --git a/articles/index.html b/articles/index.html index 9022f48..9521e53 100644 --- a/articles/index.html +++ b/articles/index.html @@ -10,7 +10,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/articles/knitrTables.pdf b/articles/knitrTables.pdf index 93d62a7..2e22720 100644 Binary files a/articles/knitrTables.pdf and b/articles/knitrTables.pdf differ diff --git a/authors.html b/authors.html index a0b0a6d..3111de4 100644 --- a/authors.html +++ b/authors.html @@ -10,7 +10,7 @@ tables - 0.9.27 + 0.9.28 @@ -65,13 +65,13 @@ Citation Murdoch D (2024). tables: Formula-Driven Table Generation. -R package version 0.9.27, https://dmurdoch.github.io/tables/. +R package version 0.9.28, https://dmurdoch.github.io/tables/. @Manual{, title = {tables: Formula-Driven Table Generation}, author = {Duncan Murdoch}, year = {2024}, - note = {R package version 0.9.27}, + note = {R package version 0.9.28}, url = {https://dmurdoch.github.io/tables/}, } diff --git a/index.html b/index.html index 6651e52..b9096c8 100644 --- a/index.html +++ b/index.html @@ -26,7 +26,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/news/index.html b/news/index.html index fe272cb..2a8e47b 100644 --- a/news/index.html +++ b/news/index.html @@ -10,7 +10,7 @@ tables - 0.9.27 + 0.9.28 @@ -52,7 +52,7 @@ -tables 0.9.27 +tables 0.9.28 A factor level of "" caused an error when displayed. It will now be changed to " " for display (issue #19). The VignetteBuilder field in DESCRIPTION has been changed to rmarkdown so that Pandoc can be found even when it is not on the PATH. Another minor update due to changes to the formatters package. diff --git a/pkgdown.yml b/pkgdown.yml index 702529c..6f40402 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -4,7 +4,7 @@ pkgdown_sha: ~ articles: HTML: HTML.html knitrTables: knitrTables.pdf -last_built: 2024-06-25T14:33Z +last_built: 2024-06-26T17:30Z urls: reference: https://dmurdoch.github.io/tables/reference article: https://dmurdoch.github.io/tables/articles diff --git a/reference/All.html b/reference/All.html index 5bd4e2e..58c99ad 100644 --- a/reference/All.html +++ b/reference/All.html @@ -10,7 +10,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/AllObs.html b/reference/AllObs.html index 02d1299..e0ec48a 100644 --- a/reference/AllObs.html +++ b/reference/AllObs.html @@ -14,7 +14,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/Arguments.html b/reference/Arguments.html index 21e00ae..0002492 100644 --- a/reference/Arguments.html +++ b/reference/Arguments.html @@ -12,7 +12,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/DropEmpty.html b/reference/DropEmpty.html index 4986600..e1a116c 100644 --- a/reference/DropEmpty.html +++ b/reference/DropEmpty.html @@ -12,7 +12,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/Format.html b/reference/Format.html index 6a72d81..ed05358 100644 --- a/reference/Format.html +++ b/reference/Format.html @@ -12,7 +12,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/HTMLfootnotes.html b/reference/HTMLfootnotes.html index 00a6969..efb05ae 100644 --- a/reference/HTMLfootnotes.html +++ b/reference/HTMLfootnotes.html @@ -12,7 +12,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/Heading.html b/reference/Heading.html index 31ce6b7..be4f669 100644 --- a/reference/Heading.html +++ b/reference/Heading.html @@ -16,7 +16,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/Hline.html b/reference/Hline.html index 6d479cf..6668e76 100644 --- a/reference/Hline.html +++ b/reference/Hline.html @@ -12,7 +12,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/Justify.html b/reference/Justify.html index 0545b8f..4be704e 100644 --- a/reference/Justify.html +++ b/reference/Justify.html @@ -12,7 +12,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/Literal.html b/reference/Literal.html index b406518..80c4b2b 100644 --- a/reference/Literal.html +++ b/reference/Literal.html @@ -10,7 +10,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/Paste.html b/reference/Paste.html index 7d9bf7b..b672dad 100644 --- a/reference/Paste.html +++ b/reference/Paste.html @@ -14,7 +14,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/Percent.html b/reference/Percent.html index 7f89319..22f68f0 100644 --- a/reference/Percent.html +++ b/reference/Percent.html @@ -12,7 +12,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/PlusMinus.html b/reference/PlusMinus.html index 2ca74b9..5e9cdea 100644 --- a/reference/PlusMinus.html +++ b/reference/PlusMinus.html @@ -14,7 +14,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/RowFactor.html b/reference/RowFactor.html index cc5e7f5..7f14880 100644 --- a/reference/RowFactor.html +++ b/reference/RowFactor.html @@ -18,7 +18,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/as.matrix.tabular.html b/reference/as.matrix.tabular.html index e9c4cb6..a2820fe 100644 --- a/reference/as.matrix.tabular.html +++ b/reference/as.matrix.tabular.html @@ -10,7 +10,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/as.tabular.html b/reference/as.tabular.html index 2e030ef..43e32e8 100644 --- a/reference/as.tabular.html +++ b/reference/as.tabular.html @@ -12,7 +12,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/html.tabular.html b/reference/html.tabular.html index 59cb091..909ebe7 100644 --- a/reference/html.tabular.html +++ b/reference/html.tabular.html @@ -12,7 +12,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/index.html b/reference/index.html index 1dd6089..f2799dc 100644 --- a/reference/index.html +++ b/reference/index.html @@ -10,7 +10,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/knit_print.tabular.html b/reference/knit_print.tabular.html index be00740..58f3441 100644 --- a/reference/knit_print.tabular.html +++ b/reference/knit_print.tabular.html @@ -12,7 +12,7 @@ tables - 0.9.27 + 0.9.28 @@ -83,8 +83,8 @@ Details be called by knitr while processing a .Rmd or .Rnw document. If table_options()$knit_print is TRUE and the output format is supported, this method will prepare output suitable for -formatted printing in a knitr document using asis_output. Otherwise, -the usual unformatted print display will be done by normal_print. +formatted printing in a knitr document using asis_output. Otherwise, +the usual unformatted print display will be done by normal_print. Value diff --git a/reference/labelSubset.html b/reference/labelSubset.html index 72da8eb..2798bbb 100644 --- a/reference/labelSubset.html +++ b/reference/labelSubset.html @@ -14,7 +14,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/labels.html b/reference/labels.html index 66bc676..6175c44 100644 --- a/reference/labels.html +++ b/reference/labels.html @@ -12,7 +12,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/latex.tabular.html b/reference/latex.tabular.html index f3c3dd3..64ff3b9 100644 --- a/reference/latex.tabular.html +++ b/reference/latex.tabular.html @@ -14,7 +14,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/latexNumeric.html b/reference/latexNumeric.html index 1432a3f..5604081 100644 --- a/reference/latexNumeric.html +++ b/reference/latexNumeric.html @@ -16,7 +16,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/latexTable.html b/reference/latexTable.html index 14dd4af..fb64acf 100644 --- a/reference/latexTable.html +++ b/reference/latexTable.html @@ -18,7 +18,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/matrix_form.tabular.html b/reference/matrix_form.tabular.html index 2b2f0fb..3209d82 100644 --- a/reference/matrix_form.tabular.html +++ b/reference/matrix_form.tabular.html @@ -12,7 +12,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/table_options.html b/reference/table_options.html index f3935f9..3cf4206 100644 --- a/reference/table_options.html +++ b/reference/table_options.html @@ -10,7 +10,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/tabular.html b/reference/tabular.html index a5ff921..2b2d8d5 100644 --- a/reference/tabular.html +++ b/reference/tabular.html @@ -10,7 +10,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/toKable.html b/reference/toKable.html index 1661da9..3650960 100644 --- a/reference/toKable.html +++ b/reference/toKable.html @@ -16,7 +16,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/toTinytable.html b/reference/toTinytable.html index 2a3708c..96e68fe 100644 --- a/reference/toTinytable.html +++ b/reference/toTinytable.html @@ -16,7 +16,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/useGroupLabels.html b/reference/useGroupLabels.html index 3eb9e6e..7b21555 100644 --- a/reference/useGroupLabels.html +++ b/reference/useGroupLabels.html @@ -16,7 +16,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/reference/write.csv.tabular.html b/reference/write.csv.tabular.html index a80a724..e658b16 100644 --- a/reference/write.csv.tabular.html +++ b/reference/write.csv.tabular.html @@ -14,7 +14,7 @@ tables - 0.9.27 + 0.9.28 diff --git a/search.json b/search.json index 3ae01f6..4d6e56e 100644 --- a/search.json +++ b/search.json @@ -1 +1 @@ -[{"path":"https://dmurdoch.github.io/tables/articles/HTML.html","id":"initializing","dir":"Articles","previous_headings":"","what":"Initializing","title":"HTML Tables","text":"First, need load tables. Packages uses print banner messages, ’ll usually want set chunk option message=FALSE. table now constructed usual way. R Markdown document, don’t want table output HTML document header, turn options:","code":"library(tables) X <- rnorm(125, sd=100) Group <- factor(sample(letters[1:5], 125, rep=TRUE)) tab <- tabular( Group ~ (N=1)+Format(digits=2)*X*((Mean=mean) + Heading(\"Std Dev\")*sd) ) table_options(htmloptions(head=FALSE))"},{"path":"https://dmurdoch.github.io/tables/articles/HTML.html","id":"inserting-a-table","dir":"Articles","previous_headings":"","what":"Inserting a Table","title":"HTML Tables","text":"two ways insert table knitr/rmarkdown document. Since tables version 0.8.4, can just print object, automatically formatted according current table_options(): previous behaviour required explicit call toHTML() function, knitr option results = 'asis' chunk. require older method, use table_options(knit_print = FALSE): either case, styling information needs included document. Ideally header, can inserted anywhere calling writeCSS results = 'asis':","code":"tab table_options(knit_print = FALSE) tab # This chunk uses the default results = 'markup' ## ## X ## Group N Mean Std Dev ## a 20 -30.9 88.6 ## b 33 4.2 130.8 ## c 21 37.8 97.4 ## d 28 15.3 107.5 ## e 23 -1.4 67.1 toHTML(tab) # This chunk uses results = 'asis' writeCSS()"},{"path":"https://dmurdoch.github.io/tables/articles/HTML.html","id":"improving-the-look","dir":"Articles","previous_headings":"","what":"Improving the Look","title":"HTML Tables","text":"default justification makes columns numbers look messy. can set justification right, headers look wrong: best look comes pad = TRUE option. adds nonbreaking spaces around numbers centering looks good. also changes hyphens proper minus signs: Unfortunately, cut table paste spreadsheet, spaces minus signs probably won’t understood. don’t know get everything want :-(.","code":"table_options(htmloptions(head = FALSE, justification = \"r\", knit_print = TRUE)) tab table_options(htmloptions(head = FALSE, justification = \"c\", pad = TRUE)) tab"},{"path":"https://dmurdoch.github.io/tables/articles/HTML.html","id":"fine-tuning","dir":"Articles","previous_headings":"","what":"Fine tuning","title":"HTML Tables","text":"document uses default CSS table_options()$CSS. producing html_document, okay. look quite right slidy_presentation, good ioslides_presentation. Furthermore, might agree design choices. cases, substitute CSS. need modify default one, can use CSS argument writeCSS(), set new default table_options(). default setting: Note #ID values replaced id string given writeCSS(), toHTML() corresponding argument allow make changes one specific table. using newer form display table_options(knit_print = TRUE), can get customized display one table also using table_options(doCSS = TRUE). example,","code":"
Murdoch D (2024). tables: Formula-Driven Table Generation. -R package version 0.9.27, https://dmurdoch.github.io/tables/. +R package version 0.9.28, https://dmurdoch.github.io/tables/.
@Manual{, title = {tables: Formula-Driven Table Generation}, author = {Duncan Murdoch}, year = {2024}, - note = {R package version 0.9.27}, + note = {R package version 0.9.28}, url = {https://dmurdoch.github.io/tables/}, }
""
" "
VignetteBuilder
DESCRIPTION
rmarkdown
PATH
formatters
.Rmd
.Rnw
If table_options()$knit_print is TRUE and the output format is supported, this method will prepare output suitable for -formatted printing in a knitr document using asis_output. Otherwise, -the usual unformatted print display will be done by normal_print.
table_options()$knit_print
TRUE
asis_output
normal_print