From 506fd011aefcbea896426c6779b8e548a755cabd Mon Sep 17 00:00:00 2001 From: dmurdoch Date: Sun, 14 Apr 2024 13:49:02 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20dmurdoch?= =?UTF-8?q?/tables@d59c0b21f529417197ac2afd8798cbdda97cdea9=20=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- articles/HTML.html | 4 ++-- articles/knitrTables.pdf | Bin 363636 -> 363636 bytes news/index.html | 2 +- pkgdown.yml | 2 +- search.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/articles/HTML.html b/articles/HTML.html index 92c9c5b..22c5dd2 100644 --- a/articles/HTML.html +++ b/articles/HTML.html @@ -575,12 +575,12 @@

Fine tuning</style>", doCSS = TRUE) tab - +
diff --git a/articles/knitrTables.pdf b/articles/knitrTables.pdf index d00e5cb4ff0b359b3c85e581e6ad8e7b90648cf4..7f08442b508b7ff897dd583b4465712ef4917f5a 100644 GIT binary patch delta 136 zcmew|L+r~8v4$4L7N!>F7M3lnXBt&Z42?}JOf91{x%7SWQ(O{DQWZ2@tc(ndObkp6 zp_1D_G_u;TIy)K~Ihi@TIhwf|yEs`Gnp+wF7M3lnXBt(EjSP$ojLoAox%7SWQ(O{DQWZ2@tbl?h1}273 z$?YE+S#4OIoeeC^ot>OrElrIr3|*XzT+A$-9UU#5oh{4_-ApZ9?G$VXDcPRi&dSOP E0DTA~O#lD@ diff --git a/news/index.html b/news/index.html index 2e5bc1a..04eb98b 100644 --- a/news/index.html +++ b/news/index.html @@ -52,7 +52,7 @@
-

tables 0.9.25

+

tables 0.9.25

CRAN release: 2024-04-13

  • PlusMinus() and Paste() didn’t handle formatting properly when multiple columns were involved (issue #13).
  • diff --git a/pkgdown.yml b/pkgdown.yml index f410256..8630465 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -4,7 +4,7 @@ pkgdown_sha: ~ articles: HTML: HTML.html knitrTables: knitrTables.pdf -last_built: 2024-04-13T20:19Z +last_built: 2024-04-14T13:47Z urls: reference: https://dmurdoch.github.io/tables/reference article: https://dmurdoch.github.io/tables/articles diff --git a/search.json b/search.json index fe2435a..7113369 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":"