diff --git a/R/read_redcap_data.R b/R/read_redcap_data.R index 6ec6bc5..a062124 100644 --- a/R/read_redcap_data.R +++ b/R/read_redcap_data.R @@ -17,7 +17,7 @@ #' @importFrom REDCapRITS REDCap_split #' #' @examples -#' +#' # Examples will be provided later read_redcap_data <- function(uri, token, records=NULL, diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index a364d1e..3b6f752 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -2,5 +2,5 @@ pandoc: 2.19.2 pkgdown: 2.0.7 pkgdown_sha: ~ articles: {} -last_built: 2022-12-20T19:27Z +last_built: 2022-12-20T19:35Z diff --git a/docs/reference/generic_stroke.html b/docs/reference/generic_stroke.html index 981d096..011f7f3 100644 --- a/docs/reference/generic_stroke.html +++ b/docs/reference/generic_stroke.html @@ -85,12 +85,12 @@ To dos: modify grottaBar and include as own function.
generic_stroke(stRoke::talos, "rtreat", "mrs_6", variables = c("hypertension","diabetes","civil"))
#> Waiting for profiling to be done...
#> $`Table 1`
-#> <div id="fhxoawxlal" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
+#> <div id="rzhkzestdk" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
#> <style>html {
#> font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', 'Fira Sans', 'Droid Sans', Arial, sans-serif;
#> }
#>
-#> #fhxoawxlal .gt_table {
+#> #rzhkzestdk .gt_table {
#> display: table;
#> border-collapse: collapse;
#> margin-left: auto;
@@ -115,7 +115,7 @@ To dos: modify grottaBar and include as own function.
#> border-left-color: #D3D3D3;
#> }
#>
-#> #fhxoawxlal .gt_heading {
+#> #rzhkzestdk .gt_heading {
#> background-color: #FFFFFF;
#> text-align: center;
#> border-bottom-color: #FFFFFF;
@@ -127,12 +127,12 @@ To dos: modify grottaBar and include as own function.
#> border-right-color: #D3D3D3;
#> }
#>
-#> #fhxoawxlal .gt_caption {
+#> #rzhkzestdk .gt_caption {
#> padding-top: 4px;
#> padding-bottom: 4px;
#> }
#>
-#> #fhxoawxlal .gt_title {
+#> #rzhkzestdk .gt_title {
#> color: #333333;
#> font-size: 125%;
#> font-weight: initial;
@@ -144,7 +144,7 @@ To dos: modify grottaBar and include as own function.
#> border-bottom-width: 0;
#> }
#>
-#> #fhxoawxlal .gt_subtitle {
+#> #rzhkzestdk .gt_subtitle {
#> color: #333333;
#> font-size: 85%;
#> font-weight: initial;
@@ -156,13 +156,13 @@ To dos: modify grottaBar and include as own function.
#> border-top-width: 0;
#> }
#>
-#> #fhxoawxlal .gt_bottom_border {
+#> #rzhkzestdk .gt_bottom_border {
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> }
#>
-#> #fhxoawxlal .gt_col_headings {
+#> #rzhkzestdk .gt_col_headings {
#> border-top-style: solid;
#> border-top-width: 2px;
#> border-top-color: #D3D3D3;
@@ -177,7 +177,7 @@ To dos: modify grottaBar and include as own function.
#> border-right-color: #D3D3D3;
#> }
#>
-#> #fhxoawxlal .gt_col_heading {
+#> #rzhkzestdk .gt_col_heading {
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
@@ -197,7 +197,7 @@ To dos: modify grottaBar and include as own function.
#> overflow-x: hidden;
#> }
#>
-#> #fhxoawxlal .gt_column_spanner_outer {
+#> #rzhkzestdk .gt_column_spanner_outer {
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
@@ -209,15 +209,15 @@ To dos: modify grottaBar and include as own function.
#> padding-right: 4px;
#> }
#>
-#> #fhxoawxlal .gt_column_spanner_outer:first-child {
+#> #rzhkzestdk .gt_column_spanner_outer:first-child {
#> padding-left: 0;
#> }
#>
-#> #fhxoawxlal .gt_column_spanner_outer:last-child {
+#> #rzhkzestdk .gt_column_spanner_outer:last-child {
#> padding-right: 0;
#> }
#>
-#> #fhxoawxlal .gt_column_spanner {
+#> #rzhkzestdk .gt_column_spanner {
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
@@ -229,7 +229,7 @@ To dos: modify grottaBar and include as own function.
#> width: 100%;
#> }
#>
-#> #fhxoawxlal .gt_group_heading {
+#> #rzhkzestdk .gt_group_heading {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
@@ -255,7 +255,7 @@ To dos: modify grottaBar and include as own function.
#> text-align: left;
#> }
#>
-#> #fhxoawxlal .gt_empty_group_heading {
+#> #rzhkzestdk .gt_empty_group_heading {
#> padding: 0.5px;
#> color: #333333;
#> background-color: #FFFFFF;
@@ -270,15 +270,15 @@ To dos: modify grottaBar and include as own function.
#> vertical-align: middle;
#> }
#>
-#> #fhxoawxlal .gt_from_md > :first-child {
+#> #rzhkzestdk .gt_from_md > :first-child {
#> margin-top: 0;
#> }
#>
-#> #fhxoawxlal .gt_from_md > :last-child {
+#> #rzhkzestdk .gt_from_md > :last-child {
#> margin-bottom: 0;
#> }
#>
-#> #fhxoawxlal .gt_row {
+#> #rzhkzestdk .gt_row {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
@@ -297,7 +297,7 @@ To dos: modify grottaBar and include as own function.
#> overflow-x: hidden;
#> }
#>
-#> #fhxoawxlal .gt_stub {
+#> #rzhkzestdk .gt_stub {
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
@@ -310,7 +310,7 @@ To dos: modify grottaBar and include as own function.
#> padding-right: 5px;
#> }
#>
-#> #fhxoawxlal .gt_stub_row_group {
+#> #rzhkzestdk .gt_stub_row_group {
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
@@ -324,11 +324,11 @@ To dos: modify grottaBar and include as own function.
#> vertical-align: top;
#> }
#>
-#> #fhxoawxlal .gt_row_group_first td {
+#> #rzhkzestdk .gt_row_group_first td {
#> border-top-width: 2px;
#> }
#>
-#> #fhxoawxlal .gt_summary_row {
+#> #rzhkzestdk .gt_summary_row {
#> color: #333333;
#> background-color: #FFFFFF;
#> text-transform: inherit;
@@ -338,16 +338,16 @@ To dos: modify grottaBar and include as own function.
#> padding-right: 5px;
#> }
#>
-#> #fhxoawxlal .gt_first_summary_row {
+#> #rzhkzestdk .gt_first_summary_row {
#> border-top-style: solid;
#> border-top-color: #D3D3D3;
#> }
#>
-#> #fhxoawxlal .gt_first_summary_row.thick {
+#> #rzhkzestdk .gt_first_summary_row.thick {
#> border-top-width: 2px;
#> }
#>
-#> #fhxoawxlal .gt_last_summary_row {
+#> #rzhkzestdk .gt_last_summary_row {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
@@ -357,7 +357,7 @@ To dos: modify grottaBar and include as own function.
#> border-bottom-color: #D3D3D3;
#> }
#>
-#> #fhxoawxlal .gt_grand_summary_row {
+#> #rzhkzestdk .gt_grand_summary_row {
#> color: #333333;
#> background-color: #FFFFFF;
#> text-transform: inherit;
@@ -367,7 +367,7 @@ To dos: modify grottaBar and include as own function.
#> padding-right: 5px;
#> }
#>
-#> #fhxoawxlal .gt_first_grand_summary_row {
+#> #rzhkzestdk .gt_first_grand_summary_row {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
@@ -377,11 +377,11 @@ To dos: modify grottaBar and include as own function.
#> border-top-color: #D3D3D3;
#> }
#>
-#> #fhxoawxlal .gt_striped {
+#> #rzhkzestdk .gt_striped {
#> background-color: rgba(128, 128, 128, 0.05);
#> }
#>
-#> #fhxoawxlal .gt_table_body {
+#> #rzhkzestdk .gt_table_body {
#> border-top-style: solid;
#> border-top-width: 2px;
#> border-top-color: #D3D3D3;
@@ -390,7 +390,7 @@ To dos: modify grottaBar and include as own function.
#> border-bottom-color: #D3D3D3;
#> }
#>
-#> #fhxoawxlal .gt_footnotes {
+#> #rzhkzestdk .gt_footnotes {
#> color: #333333;
#> background-color: #FFFFFF;
#> border-bottom-style: none;
@@ -404,7 +404,7 @@ To dos: modify grottaBar and include as own function.
#> border-right-color: #D3D3D3;
#> }
#>
-#> #fhxoawxlal .gt_footnote {
+#> #rzhkzestdk .gt_footnote {
#> margin: 0px;
#> font-size: 90%;
#> padding-left: 4px;
@@ -413,7 +413,7 @@ To dos: modify grottaBar and include as own function.
#> padding-right: 5px;
#> }
#>
-#> #fhxoawxlal .gt_sourcenotes {
+#> #rzhkzestdk .gt_sourcenotes {
#> color: #333333;
#> background-color: #FFFFFF;
#> border-bottom-style: none;
@@ -427,7 +427,7 @@ To dos: modify grottaBar and include as own function.
#> border-right-color: #D3D3D3;
#> }
#>
-#> #fhxoawxlal .gt_sourcenote {
+#> #rzhkzestdk .gt_sourcenote {
#> font-size: 90%;
#> padding-top: 4px;
#> padding-bottom: 4px;
@@ -435,64 +435,64 @@ To dos: modify grottaBar and include as own function.
#> padding-right: 5px;
#> }
#>
-#> #fhxoawxlal .gt_left {
+#> #rzhkzestdk .gt_left {
#> text-align: left;
#> }
#>
-#> #fhxoawxlal .gt_center {
+#> #rzhkzestdk .gt_center {
#> text-align: center;
#> }
#>
-#> #fhxoawxlal .gt_right {
+#> #rzhkzestdk .gt_right {
#> text-align: right;
#> font-variant-numeric: tabular-nums;
#> }
#>
-#> #fhxoawxlal .gt_font_normal {
+#> #rzhkzestdk .gt_font_normal {
#> font-weight: normal;
#> }
#>
-#> #fhxoawxlal .gt_font_bold {
+#> #rzhkzestdk .gt_font_bold {
#> font-weight: bold;
#> }
#>
-#> #fhxoawxlal .gt_font_italic {
+#> #rzhkzestdk .gt_font_italic {
#> font-style: italic;
#> }
#>
-#> #fhxoawxlal .gt_super {
+#> #rzhkzestdk .gt_super {
#> font-size: 65%;
#> }
#>
-#> #fhxoawxlal .gt_footnote_marks {
+#> #rzhkzestdk .gt_footnote_marks {
#> font-style: italic;
#> font-weight: normal;
#> font-size: 75%;
#> vertical-align: 0.4em;
#> }
#>
-#> #fhxoawxlal .gt_asterisk {
+#> #rzhkzestdk .gt_asterisk {
#> font-size: 100%;
#> vertical-align: 0;
#> }
#>
-#> #fhxoawxlal .gt_indent_1 {
+#> #rzhkzestdk .gt_indent_1 {
#> text-indent: 5px;
#> }
#>
-#> #fhxoawxlal .gt_indent_2 {
+#> #rzhkzestdk .gt_indent_2 {
#> text-indent: 10px;
#> }
#>
-#> #fhxoawxlal .gt_indent_3 {
+#> #rzhkzestdk .gt_indent_3 {
#> text-indent: 15px;
#> }
#>
-#> #fhxoawxlal .gt_indent_4 {
+#> #rzhkzestdk .gt_indent_4 {
#> text-indent: 20px;
#> }
#>
-#> #fhxoawxlal .gt_indent_5 {
+#> #rzhkzestdk .gt_indent_5 {
#> text-indent: 25px;
#> }
#> </style>
diff --git a/docs/reference/label_select.html b/docs/reference/label_select.html
index 1382f1d..81e3814 100644
--- a/docs/reference/label_select.html
+++ b/docs/reference/label_select.html
@@ -76,12 +76,12 @@ Alternative is to use attributes, eg from mrs_6~"Six months mRS",
'[Intercept]'~"Intercept")
stRoke::talos[vars] |> gtsummary::tbl_summary(label = label_select(labels_all,vars))
-#> <div id="dlmkztsomd" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
+#> <div id="foifriuqed" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;">
#> <style>html {
#> font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', 'Fira Sans', 'Droid Sans', Arial, sans-serif;
#> }
#>
-#> #dlmkztsomd .gt_table {
+#> #foifriuqed .gt_table {
#> display: table;
#> border-collapse: collapse;
#> margin-left: auto;
@@ -106,7 +106,7 @@ Alternative is to use attributes, eg from #> border-left-color: #D3D3D3;
#> }
#>
-#> #dlmkztsomd .gt_heading {
+#> #foifriuqed .gt_heading {
#> background-color: #FFFFFF;
#> text-align: center;
#> border-bottom-color: #FFFFFF;
@@ -118,12 +118,12 @@ Alternative is to use attributes, eg from #> border-right-color: #D3D3D3;
#> }
#>
-#> #dlmkztsomd .gt_caption {
+#> #foifriuqed .gt_caption {
#> padding-top: 4px;
#> padding-bottom: 4px;
#> }
#>
-#> #dlmkztsomd .gt_title {
+#> #foifriuqed .gt_title {
#> color: #333333;
#> font-size: 125%;
#> font-weight: initial;
@@ -135,7 +135,7 @@ Alternative is to use attributes, eg from #> border-bottom-width: 0;
#> }
#>
-#> #dlmkztsomd .gt_subtitle {
+#> #foifriuqed .gt_subtitle {
#> color: #333333;
#> font-size: 85%;
#> font-weight: initial;
@@ -147,13 +147,13 @@ Alternative is to use attributes, eg from #> border-top-width: 0;
#> }
#>
-#> #dlmkztsomd .gt_bottom_border {
+#> #foifriuqed .gt_bottom_border {
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
#> }
#>
-#> #dlmkztsomd .gt_col_headings {
+#> #foifriuqed .gt_col_headings {
#> border-top-style: solid;
#> border-top-width: 2px;
#> border-top-color: #D3D3D3;
@@ -168,7 +168,7 @@ Alternative is to use attributes, eg from #> border-right-color: #D3D3D3;
#> }
#>
-#> #dlmkztsomd .gt_col_heading {
+#> #foifriuqed .gt_col_heading {
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
@@ -188,7 +188,7 @@ Alternative is to use attributes, eg from #> overflow-x: hidden;
#> }
#>
-#> #dlmkztsomd .gt_column_spanner_outer {
+#> #foifriuqed .gt_column_spanner_outer {
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
@@ -200,15 +200,15 @@ Alternative is to use attributes, eg from #> padding-right: 4px;
#> }
#>
-#> #dlmkztsomd .gt_column_spanner_outer:first-child {
+#> #foifriuqed .gt_column_spanner_outer:first-child {
#> padding-left: 0;
#> }
#>
-#> #dlmkztsomd .gt_column_spanner_outer:last-child {
+#> #foifriuqed .gt_column_spanner_outer:last-child {
#> padding-right: 0;
#> }
#>
-#> #dlmkztsomd .gt_column_spanner {
+#> #foifriuqed .gt_column_spanner {
#> border-bottom-style: solid;
#> border-bottom-width: 2px;
#> border-bottom-color: #D3D3D3;
@@ -220,7 +220,7 @@ Alternative is to use attributes, eg from #> width: 100%;
#> }
#>
-#> #dlmkztsomd .gt_group_heading {
+#> #foifriuqed .gt_group_heading {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
@@ -246,7 +246,7 @@ Alternative is to use attributes, eg from #> text-align: left;
#> }
#>
-#> #dlmkztsomd .gt_empty_group_heading {
+#> #foifriuqed .gt_empty_group_heading {
#> padding: 0.5px;
#> color: #333333;
#> background-color: #FFFFFF;
@@ -261,15 +261,15 @@ Alternative is to use attributes, eg from #> vertical-align: middle;
#> }
#>
-#> #dlmkztsomd .gt_from_md > :first-child {
+#> #foifriuqed .gt_from_md > :first-child {
#> margin-top: 0;
#> }
#>
-#> #dlmkztsomd .gt_from_md > :last-child {
+#> #foifriuqed .gt_from_md > :last-child {
#> margin-bottom: 0;
#> }
#>
-#> #dlmkztsomd .gt_row {
+#> #foifriuqed .gt_row {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
@@ -288,7 +288,7 @@ Alternative is to use attributes, eg from #> overflow-x: hidden;
#> }
#>
-#> #dlmkztsomd .gt_stub {
+#> #foifriuqed .gt_stub {
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
@@ -301,7 +301,7 @@ Alternative is to use attributes, eg from #> padding-right: 5px;
#> }
#>
-#> #dlmkztsomd .gt_stub_row_group {
+#> #foifriuqed .gt_stub_row_group {
#> color: #333333;
#> background-color: #FFFFFF;
#> font-size: 100%;
@@ -315,11 +315,11 @@ Alternative is to use attributes, eg from #> vertical-align: top;
#> }
#>
-#> #dlmkztsomd .gt_row_group_first td {
+#> #foifriuqed .gt_row_group_first td {
#> border-top-width: 2px;
#> }
#>
-#> #dlmkztsomd .gt_summary_row {
+#> #foifriuqed .gt_summary_row {
#> color: #333333;
#> background-color: #FFFFFF;
#> text-transform: inherit;
@@ -329,16 +329,16 @@ Alternative is to use attributes, eg from #> padding-right: 5px;
#> }
#>
-#> #dlmkztsomd .gt_first_summary_row {
+#> #foifriuqed .gt_first_summary_row {
#> border-top-style: solid;
#> border-top-color: #D3D3D3;
#> }
#>
-#> #dlmkztsomd .gt_first_summary_row.thick {
+#> #foifriuqed .gt_first_summary_row.thick {
#> border-top-width: 2px;
#> }
#>
-#> #dlmkztsomd .gt_last_summary_row {
+#> #foifriuqed .gt_last_summary_row {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
@@ -348,7 +348,7 @@ Alternative is to use attributes, eg from #> border-bottom-color: #D3D3D3;
#> }
#>
-#> #dlmkztsomd .gt_grand_summary_row {
+#> #foifriuqed .gt_grand_summary_row {
#> color: #333333;
#> background-color: #FFFFFF;
#> text-transform: inherit;
@@ -358,7 +358,7 @@ Alternative is to use attributes, eg from #> padding-right: 5px;
#> }
#>
-#> #dlmkztsomd .gt_first_grand_summary_row {
+#> #foifriuqed .gt_first_grand_summary_row {
#> padding-top: 8px;
#> padding-bottom: 8px;
#> padding-left: 5px;
@@ -368,11 +368,11 @@ Alternative is to use attributes, eg from #> border-top-color: #D3D3D3;
#> }
#>
-#> #dlmkztsomd .gt_striped {
+#> #foifriuqed .gt_striped {
#> background-color: rgba(128, 128, 128, 0.05);
#> }
#>
-#> #dlmkztsomd .gt_table_body {
+#> #foifriuqed .gt_table_body {
#> border-top-style: solid;
#> border-top-width: 2px;
#> border-top-color: #D3D3D3;
@@ -381,7 +381,7 @@ Alternative is to use attributes, eg from #> border-bottom-color: #D3D3D3;
#> }
#>
-#> #dlmkztsomd .gt_footnotes {
+#> #foifriuqed .gt_footnotes {
#> color: #333333;
#> background-color: #FFFFFF;
#> border-bottom-style: none;
@@ -395,7 +395,7 @@ Alternative is to use attributes, eg from #> border-right-color: #D3D3D3;
#> }
#>
-#> #dlmkztsomd .gt_footnote {
+#> #foifriuqed .gt_footnote {
#> margin: 0px;
#> font-size: 90%;
#> padding-left: 4px;
@@ -404,7 +404,7 @@ Alternative is to use attributes, eg from #> padding-right: 5px;
#> }
#>
-#> #dlmkztsomd .gt_sourcenotes {
+#> #foifriuqed .gt_sourcenotes {
#> color: #333333;
#> background-color: #FFFFFF;
#> border-bottom-style: none;
@@ -418,7 +418,7 @@ Alternative is to use attributes, eg from #> border-right-color: #D3D3D3;
#> }
#>
-#> #dlmkztsomd .gt_sourcenote {
+#> #foifriuqed .gt_sourcenote {
#> font-size: 90%;
#> padding-top: 4px;
#> padding-bottom: 4px;
@@ -426,64 +426,64 @@ Alternative is to use attributes, eg from #> padding-right: 5px;
#> }
#>
-#> #dlmkztsomd .gt_left {
+#> #foifriuqed .gt_left {
#> text-align: left;
#> }
#>
-#> #dlmkztsomd .gt_center {
+#> #foifriuqed .gt_center {
#> text-align: center;
#> }
#>
-#> #dlmkztsomd .gt_right {
+#> #foifriuqed .gt_right {
#> text-align: right;
#> font-variant-numeric: tabular-nums;
#> }
#>
-#> #dlmkztsomd .gt_font_normal {
+#> #foifriuqed .gt_font_normal {
#> font-weight: normal;
#> }
#>
-#> #dlmkztsomd .gt_font_bold {
+#> #foifriuqed .gt_font_bold {
#> font-weight: bold;
#> }
#>
-#> #dlmkztsomd .gt_font_italic {
+#> #foifriuqed .gt_font_italic {
#> font-style: italic;
#> }
#>
-#> #dlmkztsomd .gt_super {
+#> #foifriuqed .gt_super {
#> font-size: 65%;
#> }
#>
-#> #dlmkztsomd .gt_footnote_marks {
+#> #foifriuqed .gt_footnote_marks {
#> font-style: italic;
#> font-weight: normal;
#> font-size: 75%;
#> vertical-align: 0.4em;
#> }
#>
-#> #dlmkztsomd .gt_asterisk {
+#> #foifriuqed .gt_asterisk {
#> font-size: 100%;
#> vertical-align: 0;
#> }
#>
-#> #dlmkztsomd .gt_indent_1 {
+#> #foifriuqed .gt_indent_1 {
#> text-indent: 5px;
#> }
#>
-#> #dlmkztsomd .gt_indent_2 {
+#> #foifriuqed .gt_indent_2 {
#> text-indent: 10px;
#> }
#>
-#> #dlmkztsomd .gt_indent_3 {
+#> #foifriuqed .gt_indent_3 {
#> text-indent: 15px;
#> }
#>
-#> #dlmkztsomd .gt_indent_4 {
+#> #foifriuqed .gt_indent_4 {
#> text-indent: 20px;
#> }
#>
-#> #dlmkztsomd .gt_indent_5 {
+#> #foifriuqed .gt_indent_5 {
#> text-indent: 25px;
#> }
#> </style>
diff --git a/docs/reference/plot_olr-1.png b/docs/reference/plot_olr-1.png
index d60a359..33d78d0 100644
Binary files a/docs/reference/plot_olr-1.png and b/docs/reference/plot_olr-1.png differ
diff --git a/docs/reference/quantile_cut.html b/docs/reference/quantile_cut.html
index 37f9318..fcde81c 100644
--- a/docs/reference/quantile_cut.html
+++ b/docs/reference/quantile_cut.html
@@ -101,7 +101,7 @@
x <- 1:450
y <- 6:750
summary(quantile_cut(aa,groups=4,detail.list=FALSE)) ## Cuts quartiles
-#> [1,262] (262,494] (494,764] (764,1e+03]
+#> [1,244] (244,494] (494,732] (732,1e+03]
#> 501 499 500 500
list of instruments
+ diff --git a/docs/search.json b/docs/search.json index 1ae9a53..79d3a97 100644 --- a/docs/search.json +++ b/docs/search.json @@ -1 +1 @@ -[{"path":"/authors.html","id":null,"dir":"","previous_headings":"","what":"Authors","title":"Authors and Citation","text":"Andreas Gammelgaard Damsbo. Author, maintainer.","code":""},{"path":"/authors.html","id":"citation","dir":"","previous_headings":"","what":"Citation","title":"Authors and Citation","text":"Damsbo (2022). stRoke: Tools work clinical stroke research. R package version 0.22.12.2.","code":"@Manual{, title = {stRoke: Tools for work in clinical stroke research}, author = {Andreas Gammelgaard Damsbo}, year = {2022}, note = {R package version 0.22.12.2}, }"},{"path":"/index.html","id":"stroke-package-","dir":"","previous_headings":"","what":"Tools for work in clinical stroke research","title":"Tools for work in clinical stroke research","text":"package contains tools used (Andreas) research work ENIGMA project. Please use package grab bits functions. Mind licensing.","code":""},{"path":"/index.html","id":"a-few-notes","dir":"","previous_headings":"","what":"A few notes","title":"Tools for work in clinical stroke research","text":"function generic_stroke()can used data(talos) custom data set illustrate classic analysis mRS outcome stroke trials.","code":""},{"path":"/index.html","id":"source","dir":"","previous_headings":"","what":"Source","title":"Tools for work in clinical stroke research","text":"package shared GitHub, welcome contribute opening issue pull request.","code":""},{"path":"/index.html","id":"installation","dir":"","previous_headings":"","what":"Installation","title":"Tools for work in clinical stroke research","text":"package can installed GitHub:","code":"remotes::install_github(\"agdamsbo/stRoke\")"},{"path":"/reference/age_calc.html","id":null,"dir":"Reference","previous_headings":"","what":"Calculating age from date of birth — age_calc","title":"Calculating age from date of birth — age_calc","text":"age calculations. Vectorised.","code":""},{"path":"/reference/age_calc.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Calculating age from date of birth — age_calc","text":"","code":"age_calc(dob, enddate = Sys.Date(), units = \"years\", precise = TRUE)"},{"path":"/reference/age_calc.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Calculating age from date of birth — age_calc","text":"dob Date birth. Data format follows standard POSIX layout. Format yyyy-mm-dd. enddate Date calculate age . Format yyyy-mm-dd. units Default \"years\". Can changed \"days\". precise Default TRUE. Flag set whether include calculations spring years. matter using units = \"days\".","code":""},{"path":"/reference/age_calc.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Calculating age from date of birth — age_calc","text":"Vector age","code":""},{"path":"/reference/age_calc.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Calculating age from date of birth — age_calc","text":"","code":"# Kim Larsen (cpr is known from album) dob<-as.Date(\"1945-10-23\") date<-as.Date(\"2018-09-30\") trunc(age_calc(dob,date)) #> [1] 72"},{"path":"/reference/ci_plot.html","id":null,"dir":"Reference","previous_headings":"","what":"Confidence interval plot with point estimate — ci_plot","title":"Confidence interval plot with point estimate — ci_plot","text":"Horizontal forest plot point estimate confidence intervals. Includes dichotomous olr, depending number levels \"x\". Title axis labels can added ggplot afterwards.","code":""},{"path":"/reference/ci_plot.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Confidence interval plot with point estimate — ci_plot","text":"","code":"ci_plot(ds, x, y, vars, dec = 3, lbls = NULL, title = NULL)"},{"path":"/reference/ci_plot.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Confidence interval plot with point estimate — ci_plot","text":"ds data set x text string main exposure variable y text string outcome variable vars variables multivariate analysis. dec Decimals labels lbls Labels variable names title Plot title. Can specified later.","code":""},{"path":"/reference/ci_plot.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Confidence interval plot with point estimate — ci_plot","text":"ggplot element","code":""},{"path":"/reference/ci_plot.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Confidence interval plot with point estimate — ci_plot","text":"","code":"data(talos) talos[,\"mrs_1\"]<-factor(talos[,\"mrs_1\"],ordered=TRUE) talos$bin <- factor(sample(1:2, size = nrow(talos), replace = TRUE)) ci_plot(ds = talos, x = \"rtreat\", y = \"mrs_1\", vars = c(\"hypertension\",\"diabetes\")) #> Waiting for profiling to be done..."},{"path":"/reference/cpr_check.html","id":null,"dir":"Reference","previous_headings":"","what":"CPR check — cpr_check","title":"CPR check — cpr_check","text":"Checking validity cpr number. Vectorised.","code":""},{"path":"/reference/cpr_check.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"CPR check — cpr_check","text":"","code":"cpr_check(cpr)"},{"path":"/reference/cpr_check.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"CPR check — cpr_check","text":"cpr cpr-numbers ddmmyy\"-.\"xxxx ddmmyyxxxx. Also mixed formatting. Vector data frame column.","code":""},{"path":"/reference/cpr_check.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"CPR check — cpr_check","text":"Logical vector cpr validity","code":""},{"path":"/reference/cpr_check.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"CPR check — cpr_check","text":"","code":"fsd<-c(\"2310450637\", \"010190-2000\", \"010115-4000\",\"300450-1030\",\"010150-4021\") cpr_check(\"2310450637\") #> OBS: according to new description, not all valid CPR numbers apply to this modulus 11 rule. #> Please refer to: https://cpr.dk/media/12066/personnummeret-i-cpr.pdf #> [1] TRUE cpr_check(fsd) #> OBS: according to new description, not all valid CPR numbers apply to this modulus 11 rule. #> Please refer to: https://cpr.dk/media/12066/personnummeret-i-cpr.pdf #> [1] TRUE FALSE FALSE FALSE FALSE all(cpr_check(fsd)) #> OBS: according to new description, not all valid CPR numbers apply to this modulus 11 rule. #> Please refer to: https://cpr.dk/media/12066/personnummeret-i-cpr.pdf #> [1] FALSE"},{"path":"/reference/cpr_dob.html","id":null,"dir":"Reference","previous_headings":"","what":"Extracting date of birth from CPR — cpr_dob","title":"Extracting date of birth from CPR — cpr_dob","text":"easy calculation. handle cprs letters (interim cpr)","code":""},{"path":"/reference/cpr_dob.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Extracting date of birth from CPR — cpr_dob","text":"","code":"cpr_dob(cpr)"},{"path":"/reference/cpr_dob.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Extracting date of birth from CPR — cpr_dob","text":"cpr cpr-numbers ddmmyy\"-.\"xxxx ddmmyyxxxx. Also mixed formatting. Vector data frame column.","code":""},{"path":"/reference/cpr_dob.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Extracting date of birth from CPR — cpr_dob","text":"vector Date elements. Format yyyy-mm-dd","code":""},{"path":"/reference/cpr_dob.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Extracting date of birth from CPR — cpr_dob","text":"","code":"cpr_dob(\"231045-0637\") #> [1] \"1945-10-23\" fsd<-c(\"2310450637\", \"010190-2000\", \"010115-4000\",\"300450-1030\",\"010150-4021\") cpr_dob(fsd) #> [1] \"1945-10-23\" \"1990-01-01\" \"2015-01-01\" \"1950-04-30\" \"1950-01-01\""},{"path":"/reference/cpr_female.html","id":null,"dir":"Reference","previous_headings":"","what":"Determine female sex from CPR — cpr_female","title":"Determine female sex from CPR — cpr_female","text":"Just checking last number string equal .","code":""},{"path":"/reference/cpr_female.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Determine female sex from CPR — cpr_female","text":"","code":"cpr_female(cpr)"},{"path":"/reference/cpr_female.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Determine female sex from CPR — cpr_female","text":"cpr Vector. cpr-numbers ddmmyy\"-.\"xxxx ddmmyyxxxx. Also mixed formatting. Vector data frame column.","code":""},{"path":"/reference/cpr_female.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Determine female sex from CPR — cpr_female","text":"Logical vector","code":""},{"path":"/reference/cpr_female.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Determine female sex from CPR — cpr_female","text":"","code":"cpr_female(stRoke::cprs[,1]) #> [1] FALSE FALSE FALSE TRUE TRUE FALSE FALSE FALSE FALSE TRUE FALSE FALSE #> [13] TRUE TRUE FALSE FALSE TRUE FALSE TRUE FALSE TRUE FALSE FALSE TRUE #> [25] TRUE TRUE FALSE TRUE TRUE TRUE FALSE TRUE FALSE FALSE FALSE FALSE #> [37] TRUE TRUE FALSE FALSE FALSE FALSE TRUE TRUE FALSE FALSE TRUE TRUE #> [49] FALSE TRUE FALSE FALSE TRUE FALSE FALSE TRUE TRUE TRUE FALSE FALSE #> [61] FALSE FALSE FALSE FALSE TRUE TRUE TRUE FALSE TRUE TRUE TRUE FALSE #> [73] TRUE FALSE TRUE FALSE FALSE TRUE FALSE FALSE FALSE TRUE TRUE TRUE #> [85] TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE TRUE #> [97] TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE TRUE FALSE TRUE #> [109] TRUE TRUE TRUE TRUE TRUE FALSE FALSE TRUE FALSE TRUE TRUE TRUE #> [121] TRUE TRUE FALSE TRUE FALSE TRUE TRUE TRUE FALSE FALSE TRUE FALSE #> [133] FALSE FALSE FALSE FALSE FALSE TRUE TRUE TRUE FALSE TRUE FALSE FALSE #> [145] TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE TRUE FALSE TRUE FALSE #> [157] TRUE FALSE FALSE FALSE FALSE TRUE FALSE TRUE FALSE TRUE TRUE TRUE #> [169] TRUE TRUE FALSE FALSE FALSE TRUE FALSE FALSE TRUE TRUE TRUE TRUE #> [181] FALSE FALSE TRUE TRUE TRUE TRUE FALSE TRUE FALSE FALSE TRUE FALSE #> [193] TRUE TRUE TRUE TRUE FALSE FALSE FALSE TRUE"},{"path":"/reference/cprs.html","id":null,"dir":"Reference","previous_headings":"","what":"Data frame of 200 cpr numbers — cprs","title":"Data frame of 200 cpr numbers — cprs","text":"just repeated sample 8 synthesized cpr-numbers testing purposes.","code":""},{"path":"/reference/cprs.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Data frame of 200 cpr numbers — cprs","text":"","code":"data(cprs)"},{"path":"/reference/cprs.html","id":"format","dir":"Reference","previous_headings":"","what":"Format","title":"Data frame of 200 cpr numbers — cprs","text":"data frame 200 rows 1 variable: cpr Mixed format cpr-numbers, characters","code":""},{"path":"/reference/cprs.html","id":"source","dir":"Reference","previous_headings":"","what":"Source","title":"Data frame of 200 cpr numbers — cprs","text":"https://da.wikipedia.org/wiki/231045-0637/","code":""},{"path":"/reference/generic_stroke.html","id":null,"dir":"Reference","previous_headings":"","what":"Generic stroke study outcome — generic_stroke","title":"Generic stroke study outcome — generic_stroke","text":"Includes table 1, grotta bars ordinal logistic regression plot. Please just use function illustration purposes. dos: modify grottaBar include function.","code":""},{"path":"/reference/generic_stroke.html","id":"ref-usage","dir":"Reference","previous_headings":"","what":"Usage","title":"Generic stroke study outcome — generic_stroke","text":"","code":"generic_stroke(df, group, score, strata = NULL, variables = NULL)"},{"path":"/reference/generic_stroke.html","id":"arguments","dir":"Reference","previous_headings":"","what":"Arguments","title":"Generic stroke study outcome — generic_stroke","text":"df Data set data frame group Variable group score Outcome measure variable strata Optional variable stratify variables String variable names include adjusted OLR-analysis","code":""},{"path":"/reference/generic_stroke.html","id":"value","dir":"Reference","previous_headings":"","what":"Value","title":"Generic stroke study outcome — generic_stroke","text":"Returns list three elements","code":""},{"path":"/reference/generic_stroke.html","id":"ref-examples","dir":"Reference","previous_headings":"","what":"Examples","title":"Generic stroke study outcome — generic_stroke","text":"","code":"generic_stroke(stRoke::talos, \"rtreat\", \"mrs_6\", variables = c(\"hypertension\",\"diabetes\",\"civil\")) #> Waiting for profiling to be done... #> $`Table 1` #>