diff --git a/docs/404.html b/docs/404.html index 74a26a6..9d3f94e 100644 --- a/docs/404.html +++ b/docs/404.html @@ -79,7 +79,7 @@
diff --git a/docs/articles/comparedf.html b/docs/articles/comparedf.html index fad261b..c830fa5 100644 --- a/docs/articles/comparedf.html +++ b/docs/articles/comparedf.html @@ -38,7 +38,7 @@ diff --git a/docs/articles/freqlist.html b/docs/articles/freqlist.html index ddd96e1..9939ea2 100644 --- a/docs/articles/freqlist.html +++ b/docs/articles/freqlist.html @@ -38,7 +38,7 @@ diff --git a/docs/articles/index.html b/docs/articles/index.html index 65e6bff..2254285 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -79,7 +79,7 @@ diff --git a/docs/articles/labels.html b/docs/articles/labels.html index 01a3f62..8343f6b 100644 --- a/docs/articles/labels.html +++ b/docs/articles/labels.html @@ -38,7 +38,7 @@ @@ -127,9 +127,8 @@## Warning: package 'magrittr' was built under R version 4.0.2
-+library(magrittr) + # for 'freqlist' examples tab.ex <- table(mockstudy[c("arm", "sex", "mdquality.s")], useNA="ifany")
The summary()
method for tableby()
, modelsum()
, and freqlist()
objects contains a labelTranslations =
argument to specify labels in the function call. Note that the freqlist()
function matches labels in order, whereas the other two match labels by name. The labels can be input as a list or a character vector.
+
+
+
+diff --git a/docs/reference/arsenal.html b/docs/reference/arsenal.html index 4f9fc18..67ab3f8 100644 --- a/docs/reference/arsenal.html +++ b/docs/reference/arsenal.html @@ -82,7 +82,7 @@# piped--much cleaner mockstudy %>% tableby(arm ~ sex + age, data = .) %>% @@ -671,7 +670,7 @@-
diff --git a/docs/reference/arsenal-deprecated.html b/docs/reference/arsenal-deprecated.html index 1c235de..1ca0e38 100644 --- a/docs/reference/arsenal-deprecated.html +++ b/docs/reference/arsenal-deprecated.html @@ -80,7 +80,7 @@++mockstudy %>% modelsum(bmi ~ age, adjust = ~ sex, data = .) %>% set_labels(list(sexFemale = "Female", age = "Age, yrs")) %>% @@ -718,23 +717,23 @@Add labels to a
data.frame
-
tableby()
andmodelsum()
also allow you to have label attributes on the data. Note that by default these attributes usually get dropped upon subsetting, buttableby()
andmodelsum()
use thekeep.labels()
function to retain them.@@ -152,9 +152,18 @@+mockstudy.lab <- keep.labels(mockstudy) class(mockstudy$age)[1] “integer”
-diff --git a/docs/news/index.html b/docs/news/index.html index 460a297..b1195de 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -79,7 +79,7 @@+class(mockstudy.lab$age)[1] “keep_labels” “integer”
To undo this, simply
-loosen.labels()
:diff --git a/docs/index.html b/docs/index.html index c77883c..5c707dc 100644 --- a/docs/index.html +++ b/docs/index.html @@ -48,7 +48,7 @@+class(loosen.labels(mockstudy.lab)$age)[1] “integer”
You can set attributes one at a time in two ways:
-+…or all at once:
-+@@ -798,7 +797,7 @@
You can pipe this, too.
-@@ -958,7 +958,7 @@+mockstudy %>% set_labels(list(sex = "SEX", age = "Age, yrs")) %>% modelsum(bmi ~ age, adjust = ~ sex, data = .) %>% @@ -840,7 +839,7 @@
To extract labels from a
-data.frame
, simply use thelabels()
function:+labels(mockstudy.lab)## $case ## NULL @@ -888,7 +887,7 @@
When labels get long
-
tableby()
andmodelsum()
both support the wrapping of long labels. Consider thewidth=
argument in theprint()
function:+Warning: 'survConcordance' is deprecated. +Use 'concordance' instead. +See help("Deprecated") +Warning: 'survConcordance.fit' is deprecated. +Use 'concordancefit' instead. +See help("Deprecated") +$concordance +concordant + 0.5684325 + +$stats +concordant discordant tied.risk tied.time std(c-d) + 620221.00 470282.00 5021.00 766.00 19235.49 + +$n +[1] 1499 + +$std.err + std(c-d) +0.008779125 + +$call +survConcordance(formula = Surv(fu.time, fu.stat) ~ predict(fit2), + data = mockstudy) + +attr(,"class") +[1] "survConcordance"+@@ -886,27 +886,33 @@mockstudy %>% set_labels(list(age = "This is a really long label for the arm variable")) %>% tableby(sex ~ age, data = .) %>% diff --git a/docs/articles/modelsum.html b/docs/articles/modelsum.html index a4d595d..9301d4e 100644 --- a/docs/articles/modelsum.html +++ b/docs/articles/modelsum.html @@ -38,7 +38,7 @@> > # It can also be calculated using the survConcordance function > survConcordance(Surv(fu.time, fu.stat) ~ predict(fit2), data=mockstudy) -$concordance -concordant - 0.5684325 - -$stats -concordant discordant tied.risk tied.time std(c-d) - 620221.00 470282.00 5021.00 766.00 19235.49 - -$n -[1] 1499 - -$std.err - std(c-d) -0.008779125 - -$call -survConcordance(formula = Surv(fu.time, fu.stat) ~ predict(fit2), - data = mockstudy) - -attr(,"class") -[1] "survConcordance"
diff --git a/docs/articles/tableby.html b/docs/articles/tableby.html index 4685c13..3c40376 100644 --- a/docs/articles/tableby.html +++ b/docs/articles/tableby.html @@ -38,7 +38,7 @@diff --git a/docs/articles/modelsum_files/figure-html/poisson-1.png b/docs/articles/modelsum_files/figure-html/poisson-1.png index e974334..2b552d9 100644 Binary files a/docs/articles/modelsum_files/figure-html/poisson-1.png and b/docs/articles/modelsum_files/figure-html/poisson-1.png differ diff --git a/docs/articles/modelsum_files/figure-html/survival-2.png b/docs/articles/modelsum_files/figure-html/survival-2.png index 51267aa..228fa29 100644 Binary files a/docs/articles/modelsum_files/figure-html/survival-2.png and b/docs/articles/modelsum_files/figure-html/survival-2.png differ diff --git a/docs/articles/modelsum_files/figure-html/unnamed-chunk-3-1.png b/docs/articles/modelsum_files/figure-html/unnamed-chunk-3-1.png index 3a6d607..7bed5ab 100644 Binary files a/docs/articles/modelsum_files/figure-html/unnamed-chunk-3-1.png and b/docs/articles/modelsum_files/figure-html/unnamed-chunk-3-1.png differ diff --git a/docs/articles/modelsum_files/figure-html/unnamed-chunk-3-3.png b/docs/articles/modelsum_files/figure-html/unnamed-chunk-3-3.png index def8b5c..61f8c08 100644 Binary files a/docs/articles/modelsum_files/figure-html/unnamed-chunk-3-3.png and b/docs/articles/modelsum_files/figure-html/unnamed-chunk-3-3.png differ diff --git a/docs/articles/modelsum_files/figure-html/unnamed-chunk-3-4.png b/docs/articles/modelsum_files/figure-html/unnamed-chunk-3-4.png index ce559c6..2ee46f8 100644 Binary files a/docs/articles/modelsum_files/figure-html/unnamed-chunk-3-4.png and b/docs/articles/modelsum_files/figure-html/unnamed-chunk-3-4.png differ diff --git a/docs/articles/modelsum_files/figure-html/unnamed-chunk-5-1.png b/docs/articles/modelsum_files/figure-html/unnamed-chunk-5-1.png index cce4d25..c4fdacd 100644 Binary files a/docs/articles/modelsum_files/figure-html/unnamed-chunk-5-1.png and b/docs/articles/modelsum_files/figure-html/unnamed-chunk-5-1.png differ diff --git a/docs/articles/modelsum_files/figure-html/unnamed-chunk-5-3.png b/docs/articles/modelsum_files/figure-html/unnamed-chunk-5-3.png index 0b6e266..4dd899a 100644 Binary files a/docs/articles/modelsum_files/figure-html/unnamed-chunk-5-3.png and b/docs/articles/modelsum_files/figure-html/unnamed-chunk-5-3.png differ diff --git a/docs/articles/modelsum_files/figure-html/unnamed-chunk-5-4.png b/docs/articles/modelsum_files/figure-html/unnamed-chunk-5-4.png index a6a9b06..88af6fe 100644 Binary files a/docs/articles/modelsum_files/figure-html/unnamed-chunk-5-4.png and b/docs/articles/modelsum_files/figure-html/unnamed-chunk-5-4.png differ diff --git a/docs/articles/modelsum_files/figure-html/unnamed-chunk-6-1.png b/docs/articles/modelsum_files/figure-html/unnamed-chunk-6-1.png index c483f8c..81d4e97 100644 Binary files a/docs/articles/modelsum_files/figure-html/unnamed-chunk-6-1.png and b/docs/articles/modelsum_files/figure-html/unnamed-chunk-6-1.png differ diff --git a/docs/articles/modelsum_files/figure-html/unnamed-chunk-9-1.png b/docs/articles/modelsum_files/figure-html/unnamed-chunk-9-1.png index 326830a..309fc6d 100644 Binary files a/docs/articles/modelsum_files/figure-html/unnamed-chunk-9-1.png and b/docs/articles/modelsum_files/figure-html/unnamed-chunk-9-1.png differ diff --git a/docs/articles/paired.html b/docs/articles/paired.html index 5da231e..67f1e0e 100644 --- a/docs/articles/paired.html +++ b/docs/articles/paired.html @@ -38,7 +38,7 @@
The functionality listed in this next paragraph is coming soon but needs an upgraded version of RStudio If you want to modify fonts used for the table, then you’ll need to add an extra line to your header at the beginning of your file. You can take the
WordStylesReference01.docx
file and modify the fonts (storing the format preferences in your project directory). To see how this works, run your report once using WordStylesReference01.docx and then WordStylesReference02.docx.-output: word_document reference_docx: /projects/bsi/gentools/R/lib320/arsenal/doc/WordStylesReference01.docx
For more informating on changing the look/feel of your Word document, see the Rmarkdown documentation website.
+For more information on changing the look/feel of your Word document, see the Rmarkdown documentation website.
diff --git a/docs/articles/write2.html b/docs/articles/write2.html index 36a77e1..32a0b7f 100644 --- a/docs/articles/write2.html +++ b/docs/articles/write2.html @@ -38,7 +38,7 @@diff --git a/docs/authors.html b/docs/authors.html index df0fcc1..a718bd4 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -79,7 +79,7 @@Changelog
Source:NEWS.md
++arsenal v3.6.2 Unreleased +
++
+- +
Fixed one URL
- +
Fixed two
modelsum
test errors that were a result of rounding on macos.diff --git a/docs/reference/arsenal-defunct.html b/docs/reference/arsenal-defunct.html index 31f0a90..9982ab2 100644 --- a/docs/reference/arsenal-defunct.html +++ b/docs/reference/arsenal-defunct.html @@ -80,7 +80,7 @@-arsenal v3.6.1 Unreleased +arsenal v3.6.1 2021-02-06
- Fixed two URLs
diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index ca7b7cc..3d89e2e 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -9,5 +9,5 @@ articles: paired: paired.html tableby: tableby.html write2: write2.html -last_built: 2021-02-05T15:25Z +last_built: 2021-02-16T22:17Z diff --git a/docs/reference/NA.operations.html b/docs/reference/NA.operations.html index 8756975..3032686 100644 --- a/docs/reference/NA.operations.html +++ b/docs/reference/NA.operations.html @@ -81,7 +81,7 @@