Skip to content

Commit

Permalink
Upates to rmarkdown chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
arranhamlet committed Sep 23, 2024
1 parent c286b45 commit 05f7a6b
Show file tree
Hide file tree
Showing 19 changed files with 2,964 additions and 807 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified html_outputs/images/markdown/1_gettingstartedB.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
935 changes: 935 additions & 0 deletions html_outputs/new_pages/descriptive_statistics.qmd

Large diffs are not rendered by default.

221 changes: 170 additions & 51 deletions html_outputs/new_pages/rmarkdown.html

Large diffs are not rendered by default.

1,868 changes: 1,194 additions & 674 deletions html_outputs/new_pages/tables_descriptive.html

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions html_outputs/search.json

Large diffs are not rendered by default.

Binary file added images/markdown/11_childdocument_call.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/markdown/12_notsundayanalysis.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/markdown/12_sundayanalysis.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/markdown/1_gettingstartedB.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
125 changes: 78 additions & 47 deletions new_pages/rmarkdown.qmd

Large diffs are not rendered by default.

553 changes: 553 additions & 0 deletions new_pages/stat_tests.rmarkdown

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions new_pages/stat_tests_files/execute-results/html.json

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions new_pages/tables_descriptive.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -894,8 +894,8 @@ Adjust how missing values are displayed. The default is "Unknown".
**`type = `**
This is used to adjust how many levels of the statistics are shown. The syntax is similar to `statistic = ` in that you provide an equation with columns on the left and a value on the right. Two common scenarios include:

* `type = all_categorical() ~ "categorical"` Forces dichotomous columns (e.g. `fever` yes/no) to show all levels instead of only the “yes” row
* `type = all_continuous() ~ "continuous2"` Allows multi-line statistics per variable, as shown in a later section
* `type = all_categorical() ~ "categorical"` Forces dichotomous columns (e.g. `fever` yes/no) to show all levels instead of only the “yes” row.
* `type = all_continuous() ~ "continuous2"` Allows multi-line statistics per variable, as shown in a later section.

In the example below, each of these arguments is used to modify the original summary table:

Expand All @@ -909,7 +909,6 @@ linelist %>%
digits = all_continuous() ~ 1, # rounding for continuous columns
type = all_categorical() ~ "categorical", # force all categorical levels to display
label = list( # display labels for column names
outcome ~ "Outcome",
age_years ~ "Age (years)",
gender ~ "Gender",
temp ~ "Temperature",
Expand Down
21 changes: 0 additions & 21 deletions new_pages/tables_descriptive_files/execute-results/html.json

This file was deleted.

Binary file not shown.

0 comments on commit 05f7a6b

Please sign in to comment.