Compare commits

..

No commits in common. "820ea16fef72c8bd69603bf4c3179a66a00f88f8" and "344b101cf10cc4b11492c19ef368fbc633ff5d3b" have entirely different histories.

35 changed files with 49 additions and 45 deletions

View File

@ -63,9 +63,9 @@
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Toolbox</h1> <img src="../logo.png" class="logo" alt=""><h1>Toolbox</h1>
<h4 data-toc-skip class="date">2024-10-25</h4> <h4 data-toc-skip class="date">2024-10-24</h4>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/vignettes/toolbox.Rmd" class="external-link"><code>vignettes/toolbox.Rmd</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/vignettes/toolbox.Rmd" class="external-link"><code>vignettes/toolbox.Rmd</code></a></small>
<div class="d-none name"><code>toolbox.Rmd</code></div> <div class="d-none name"><code>toolbox.Rmd</code></div>
</div> </div>
@ -83,6 +83,10 @@ something like that.</p>
I use regularly in addition to functions that I have written myself to I use regularly in addition to functions that I have written myself to
fill use cases, that I have not been able to find solutions to fill use cases, that I have not been able to find solutions to
elsewhere.</p> elsewhere.</p>
<p>In documenting and testing the package, I have used <a href="https://platform.openai.com/overview" class="external-link">OpenAIs</a> chatgpt with <a href="https://jameshwade.github.io/gpttools/" class="external-link">gpttools</a>. The chatgpt
is an interesting tool, that is in no way perfect, but it helps with
tedious tasks. Both <code>gpttools</code> and <a href="https://michelnivard.github.io/gptstudio/" class="external-link"><code>gptstudio</code></a>
are interesting implementations in R and RStudio.</p>
<div class="section level3"> <div class="section level3">
<h3 id="cpr-intro">CPR manipulations<a class="anchor" aria-label="anchor" href="#cpr-intro"></a> <h3 id="cpr-intro">CPR manipulations<a class="anchor" aria-label="anchor" href="#cpr-intro"></a>
</h3> </h3>
@ -94,7 +98,7 @@ binary gender (not biological sex) dependent on even/uneven as
female/male, and the last for digits are used in a modulus calculation female/male, and the last for digits are used in a modulus calculation
to verify the validity of the CPR number. Foreigners and unidentified to verify the validity of the CPR number. Foreigners and unidentified
persons are given temporary CPR numbers including letters.</p> persons are given temporary CPR numbers including letters.</p>
<p>More information can be found on <a href="https://www.cpr.dk" class="external-link">cpr.dk</a>.</p> <p>More information can be found on <a href="https://cpr.dk" class="external-link">cpr.dk</a>.</p>
<p>Note, that all CPR numbers used in examples are publicly known or <p>Note, that all CPR numbers used in examples are publicly known or
non-organic.</p> non-organic.</p>
<div class="section level4"> <div class="section level4">
@ -111,9 +115,9 @@ functions similarly to <code><a href="https://lubridate.tidyverse.org/reference/
<div class="section level4"> <div class="section level4">
<h4 id="cpr_check">cpr_check()<a class="anchor" aria-label="anchor" href="#cpr_check"></a> <h4 id="cpr_check">cpr_check()<a class="anchor" aria-label="anchor" href="#cpr_check"></a>
</h4> </h4>
<p>Checks validity of CPR numbers according to the <a href="https://www.cpr.dk/cpr-systemet/opbygning-af-cpr-nummeret" class="external-link">modulus <p>Checks validity of CPR numbers according to the <a href="https://cpr.dk/cpr-systemet/opbygning-af-cpr-nummeret" class="external-link">modulus 11
11 rule</a>. Note that due to limitations in the possible available CPR rule</a>. Note that due to limitations in the possible available CPR
numbers, this rule <a href="https://www.cpr.dk/cpr-systemet/personnumre-uden-kontrolciffer-modulus-11-kontrol" class="external-link">does numbers, this rule <a href="https://cpr.dk/cpr-systemet/personnumre-uden-kontrolciffer-modulus-11-kontrol" class="external-link">does
not apply to all CPR numbers after 2007</a>.</p> not apply to all CPR numbers after 2007</a>.</p>
<div class="sourceCode" id="cb3"><pre class="downlit sourceCode r"> <div class="sourceCode" id="cb3"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a href="../reference/cpr_check.html">cpr_check</a></span><span class="op">(</span></span> <code class="sourceCode R"><span><span class="fu"><a href="../reference/cpr_check.html">cpr_check</a></span><span class="op">(</span></span>
@ -189,7 +193,7 @@ relevant assumptions.</p>
<div class="section level4"> <div class="section level4">
<h4 id="generic_stroke">generic_stroke()<a class="anchor" aria-label="anchor" href="#generic_stroke"></a> <h4 id="generic_stroke">generic_stroke()<a class="anchor" aria-label="anchor" href="#generic_stroke"></a>
</h4> </h4>
<p>For learning purposes. Uses anonymized data from the <a href="https://doi.org/10.1161/STROKEAHA.117.020067" class="external-link">TALOS trial</a> to <p>For learning purposes. Uses annonymized data from the <a href="https://doi.org/10.1161/STROKEAHA.117.020067" class="external-link">TALOS trial</a> to
output a Table 1 (with <code><a href="https://www.danieldsjoberg.com/gtsummary/reference/tbl_summary.html" class="external-link">gtsummary::tbl_summary()</a></code>), plotting output a Table 1 (with <code><a href="https://www.danieldsjoberg.com/gtsummary/reference/tbl_summary.html" class="external-link">gtsummary::tbl_summary()</a></code>), plotting
the so-called grotta-bars based on mRS scores (with the so-called grotta-bars based on mRS scores (with
<code><a href="https://rdrr.io/pkg/rankinPlot/man/grottaBar.html" class="external-link">rankinPlot::grottaBar()</a></code>) and a ordinal logistic regression <code><a href="https://rdrr.io/pkg/rankinPlot/man/grottaBar.html" class="external-link">rankinPlot::grottaBar()</a></code>) and a ordinal logistic regression

View File

@ -45,7 +45,7 @@
<div class="section level2"> <div class="section level2">
<h2 id="citation">Citation</h2> <h2 id="citation">Citation</h2>
<p><small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/DESCRIPTION" class="external-link"><code>DESCRIPTION</code></a></small></p> <p><small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/DESCRIPTION" class="external-link"><code>DESCRIPTION</code></a></small></p>
<p>Damsbo A (2024). <p>Damsbo A (2024).
<em>stRoke: Clinical Stroke Research</em>. <em>stRoke: Clinical Stroke Research</em>.

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Changelog</h1> <img src="../logo.png" class="logo" alt=""><h1>Changelog</h1>
<small>Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/NEWS.md" class="external-link"><code>NEWS.md</code></a></small> <small>Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/NEWS.md" class="external-link"><code>NEWS.md</code></a></small>
</div> </div>
<div class="section level2"> <div class="section level2">

View File

@ -3,7 +3,7 @@ pkgdown: 2.1.1
pkgdown_sha: ~ pkgdown_sha: ~
articles: articles:
toolbox: toolbox.html toolbox: toolbox.html
last_built: 2024-10-25T07:41Z last_built: 2024-10-24T10:09Z
urls: urls:
reference: https://agdamsbo.github.io/stRoke/reference reference: https://agdamsbo.github.io/stRoke/reference
article: https://agdamsbo.github.io/stRoke/articles article: https://agdamsbo.github.io/stRoke/articles

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>MOVED Add padding to string</h1> <img src="../logo.png" class="logo" alt=""><h1>MOVED Add padding to string</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/add_padding.R" class="external-link"><code>R/add_padding.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/add_padding.R" class="external-link"><code>R/add_padding.R</code></a></small>
<div class="d-none name"><code>add_padding.Rd</code></div> <div class="d-none name"><code>add_padding.Rd</code></div>
</div> </div>

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Calculate age in years, months, or days</h1> <img src="../logo.png" class="logo" alt=""><h1>Calculate age in years, months, or days</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/age_calc.R" class="external-link"><code>R/age_calc.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/age_calc.R" class="external-link"><code>R/age_calc.R</code></a></small>
<div class="d-none name"><code>age_calc.Rd</code></div> <div class="d-none name"><code>age_calc.Rd</code></div>
</div> </div>

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>MOVED Split to chunks of size n</h1> <img src="../logo.png" class="logo" alt=""><h1>MOVED Split to chunks of size n</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/chunks_of_n.R" class="external-link"><code>R/chunks_of_n.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/chunks_of_n.R" class="external-link"><code>R/chunks_of_n.R</code></a></small>
<div class="d-none name"><code>chunks_of_n.Rd</code></div> <div class="d-none name"><code>chunks_of_n.Rd</code></div>
</div> </div>

View File

@ -36,7 +36,7 @@ Title and axis labels can be added to the ggplot afterwards.'><meta property="og
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Confidence interval plot with point estimate</h1> <img src="../logo.png" class="logo" alt=""><h1>Confidence interval plot with point estimate</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/ci_plot.R" class="external-link"><code>R/ci_plot.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/ci_plot.R" class="external-link"><code>R/ci_plot.R</code></a></small>
<div class="d-none name"><code>ci_plot.Rd</code></div> <div class="d-none name"><code>ci_plot.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@ contrast_text."><meta property="og:image" content="https://agdamsbo.github.io/st
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Plot color examples with contrasting text</h1> <img src="../logo.png" class="logo" alt=""><h1>Plot color examples with contrasting text</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/contrast_text.R" class="external-link"><code>R/contrast_text.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/contrast_text.R" class="external-link"><code>R/contrast_text.R</code></a></small>
<div class="d-none name"><code>color_plot.Rd</code></div> <div class="d-none name"><code>color_plot.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@ background color."><meta property="og:image" content="https://agdamsbo.github.io
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>MOVED Contrast Text Color</h1> <img src="../logo.png" class="logo" alt=""><h1>MOVED Contrast Text Color</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/contrast_text.R" class="external-link"><code>R/contrast_text.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/contrast_text.R" class="external-link"><code>R/contrast_text.R</code></a></small>
<div class="d-none name"><code>contrast_text.Rd</code></div> <div class="d-none name"><code>contrast_text.Rd</code></div>
</div> </div>

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>CPR check</h1> <img src="../logo.png" class="logo" alt=""><h1>CPR check</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/cpr_tools.R" class="external-link"><code>R/cpr_tools.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/cpr_tools.R" class="external-link"><code>R/cpr_tools.R</code></a></small>
<div class="d-none name"><code>cpr_check.Rd</code></div> <div class="d-none name"><code>cpr_check.Rd</code></div>
</div> </div>

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Extracting date of birth from CPR</h1> <img src="../logo.png" class="logo" alt=""><h1>Extracting date of birth from CPR</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/cpr_tools.R" class="external-link"><code>R/cpr_tools.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/cpr_tools.R" class="external-link"><code>R/cpr_tools.R</code></a></small>
<div class="d-none name"><code>cpr_dob.Rd</code></div> <div class="d-none name"><code>cpr_dob.Rd</code></div>
</div> </div>

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Determine female sex from CPR</h1> <img src="../logo.png" class="logo" alt=""><h1>Determine female sex from CPR</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/cpr_tools.R" class="external-link"><code>R/cpr_tools.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/cpr_tools.R" class="external-link"><code>R/cpr_tools.R</code></a></small>
<div class="d-none name"><code>cpr_female.Rd</code></div> <div class="d-none name"><code>cpr_female.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@ for testing purposes."><meta property="og:image" content="https://agdamsbo.githu
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Data frame of 200 cpr numbers</h1> <img src="../logo.png" class="logo" alt=""><h1>Data frame of 200 cpr numbers</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/cprs.R" class="external-link"><code>R/cprs.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/cprs.R" class="external-link"><code>R/cprs.R</code></a></small>
<div class="d-none name"><code>cprs.Rd</code></div> <div class="d-none name"><code>cprs.Rd</code></div>
</div> </div>

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1><em>DEPRECATED</em> Moved to REDCapCAST::ds2dd() | Data set to data dictionary function</h1> <img src="../logo.png" class="logo" alt=""><h1><em>DEPRECATED</em> Moved to REDCapCAST::ds2dd() | Data set to data dictionary function</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/ds2dd.R" class="external-link"><code>R/ds2dd.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/ds2dd.R" class="external-link"><code>R/ds2dd.R</code></a></small>
<div class="d-none name"><code>ds2dd.Rd</code></div> <div class="d-none name"><code>ds2dd.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@ provided filter."><meta property="og:image" content="https://agdamsbo.github.io/
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>MOVED Filter files in a folder</h1> <img src="../logo.png" class="logo" alt=""><h1>MOVED Filter files in a folder</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/files_filter.R" class="external-link"><code>R/files_filter.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/files_filter.R" class="external-link"><code>R/files_filter.R</code></a></small>
<div class="d-none name"><code>files_filter.Rd</code></div> <div class="d-none name"><code>files_filter.Rd</code></div>
</div> </div>

View File

@ -36,7 +36,7 @@ To dos: modify grottaBar and include as own function."><meta property="og:image"
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Generic stroke study outcome</h1> <img src="../logo.png" class="logo" alt=""><h1>Generic stroke study outcome</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/generic_stroke.R" class="external-link"><code>R/generic_stroke.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/generic_stroke.R" class="external-link"><code>R/generic_stroke.R</code></a></small>
<div class="d-none name"><code>generic_stroke.Rd</code></div> <div class="d-none name"><code>generic_stroke.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@ Includes option to facet."><meta property="og:image" content="https://agdamsbo.g
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Plot multidimensional cognitive test scores</h1> <img src="../logo.png" class="logo" alt=""><h1>Plot multidimensional cognitive test scores</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/index_plot.R" class="external-link"><code>R/index_plot.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/index_plot.R" class="external-link"><code>R/index_plot.R</code></a></small>
<div class="d-none name"><code>index_plot.Rd</code></div> <div class="d-none name"><code>index_plot.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@ Alternative is to use attributes, eg from library(Hmisc).'><meta property="og:im
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Helper function for labels in gtsummary</h1> <img src="../logo.png" class="logo" alt=""><h1>Helper function for labels in gtsummary</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/label_select.R" class="external-link"><code>R/label_select.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/label_select.R" class="external-link"><code>R/label_select.R</code></a></small>
<div class="d-none name"><code>label_select.Rd</code></div> <div class="d-none name"><code>label_select.Rd</code></div>
</div> </div>
@ -78,15 +78,15 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-in"><span><span class="fu">label_select</span><span class="op">(</span><span class="va">labels_all</span>,<span class="va">vars</span><span class="op">)</span></span></span> <span class="r-in"><span><span class="fu">label_select</span><span class="op">(</span><span class="va">labels_all</span>,<span class="va">vars</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [[1]]</span> <span class="r-out co"><span class="r-pr">#&gt;</span> [[1]]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> hypertension ~ "Known hypertension"</span> <span class="r-out co"><span class="r-pr">#&gt;</span> hypertension ~ "Known hypertension"</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> &lt;environment: 0x562ba5cd5fc0&gt;</span> <span class="r-out co"><span class="r-pr">#&gt;</span> &lt;environment: 0x55c3d0a13968&gt;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span> <span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [[2]]</span> <span class="r-out co"><span class="r-pr">#&gt;</span> [[2]]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> diabetes ~ "Known diabetes"</span> <span class="r-out co"><span class="r-pr">#&gt;</span> diabetes ~ "Known diabetes"</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> &lt;environment: 0x562ba5cd5fc0&gt;</span> <span class="r-out co"><span class="r-pr">#&gt;</span> &lt;environment: 0x55c3d0a13968&gt;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span> <span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [[3]]</span> <span class="r-out co"><span class="r-pr">#&gt;</span> [[3]]</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> mrs_1 ~ "One month mRS"</span> <span class="r-out co"><span class="r-pr">#&gt;</span> mrs_1 ~ "One month mRS"</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> &lt;environment: 0x562ba5cd5fc0&gt;</span> <span class="r-out co"><span class="r-pr">#&gt;</span> &lt;environment: 0x55c3d0a13968&gt;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span> <span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-in"><span></span></span> <span class="r-in"><span></span></span>
<span class="r-in"><span><span class="co">## With gtsummary::tbl_summary()</span></span></span> <span class="r-in"><span><span class="co">## With gtsummary::tbl_summary()</span></span></span>

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Vector of REDCap metadata headers</h1> <img src="../logo.png" class="logo" alt=""><h1>Vector of REDCap metadata headers</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/metadata.R" class="external-link"><code>R/metadata.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/metadata.R" class="external-link"><code>R/metadata.R</code></a></small>
<div class="d-none name"><code>metadata_names.Rd</code></div> <div class="d-none name"><code>metadata_names.Rd</code></div>
</div> </div>
@ -54,7 +54,7 @@
</dl></div> </dl></div>
<div class="section level2"> <div class="section level2">
<h2 id="see-also">See also<a class="anchor" aria-label="anchor" href="#see-also"></a></h2> <h2 id="see-also">See also<a class="anchor" aria-label="anchor" href="#see-also"></a></h2>
<div class="dont-index"><p>project-redcap(dot)org (currently the certificate is broken)</p></div> <div class="dont-index"><p><a href="https://www.project-redcap.org/" class="external-link">https://www.project-redcap.org/</a></p></div>
</div> </div>
</main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2> </main><aside class="col-md-3"><nav id="toc" aria-label="Table of contents"><h2>On this page</h2>

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>MFI domain score calculator</h1> <img src="../logo.png" class="logo" alt=""><h1>MFI domain score calculator</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/mfi_calc.R" class="external-link"><code>R/mfi_calc.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/mfi_calc.R" class="external-link"><code>R/mfi_calc.R</code></a></small>
<div class="d-none name"><code>mfi_domains.Rd</code></div> <div class="d-none name"><code>mfi_domains.Rd</code></div>
</div> </div>

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Reverses relevant MFI subscores</h1> <img src="../logo.png" class="logo" alt=""><h1>Reverses relevant MFI subscores</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/mfi_calc.R" class="external-link"><code>R/mfi_calc.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/mfi_calc.R" class="external-link"><code>R/mfi_calc.R</code></a></small>
<div class="d-none name"><code>multi_rev.Rd</code></div> <div class="d-none name"><code>multi_rev.Rd</code></div>
</div> </div>

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Splits in n chunks</h1> <img src="../logo.png" class="logo" alt=""><h1>Splits in n chunks</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/chunks_of_n.R" class="external-link"><code>R/chunks_of_n.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/chunks_of_n.R" class="external-link"><code>R/chunks_of_n.R</code></a></small>
<div class="d-none name"><code>n_chunks.Rd</code></div> <div class="d-none name"><code>n_chunks.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@ Sample data labels are in Danish."><meta property="og:image" content="https://ag
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Data frame with sample data of PASE score questionnaire</h1> <img src="../logo.png" class="logo" alt=""><h1>Data frame with sample data of PASE score questionnaire</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/pase.R" class="external-link"><code>R/pase.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/pase.R" class="external-link"><code>R/pase.R</code></a></small>
<div class="d-none name"><code>pase.Rd</code></div> <div class="d-none name"><code>pase.Rd</code></div>
</div> </div>

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>PASE score calculator</h1> <img src="../logo.png" class="logo" alt=""><h1>PASE score calculator</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/pase_calc.R" class="external-link"><code>R/pase_calc.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/pase_calc.R" class="external-link"><code>R/pase_calc.R</code></a></small>
<div class="d-none name"><code>pase_calc.Rd</code></div> <div class="d-none name"><code>pase_calc.Rd</code></div>
</div> </div>

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Prints win_prob results</h1> <img src="../logo.png" class="logo" alt=""><h1>Prints win_prob results</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/win_prob.R" class="external-link"><code>R/win_prob.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/win_prob.R" class="external-link"><code>R/win_prob.R</code></a></small>
<div class="d-none name"><code>print.win_Prob.Rd</code></div> <div class="d-none name"><code>print.win_Prob.Rd</code></div>
</div> </div>

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>MOVED Easy function for splitting numeric variable in quantiles</h1> <img src="../logo.png" class="logo" alt=""><h1>MOVED Easy function for splitting numeric variable in quantiles</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/quantile_cut.R" class="external-link"><code>R/quantile_cut.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/quantile_cut.R" class="external-link"><code>R/quantile_cut.R</code></a></small>
<div class="d-none name"><code>quantile_cut.Rd</code></div> <div class="d-none name"><code>quantile_cut.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@ five-dimensional cognitive test."><meta property="og:image" content="https://agd
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Data frame with sample data of cognitive testing score</h1> <img src="../logo.png" class="logo" alt=""><h1>Data frame with sample data of cognitive testing score</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/score.R" class="external-link"><code>R/score.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/score.R" class="external-link"><code>R/score.R</code></a></small>
<div class="d-none name"><code>score.Rd</code></div> <div class="d-none name"><code>score.Rd</code></div>
</div> </div>

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Source Lines from a File</h1> <img src="../logo.png" class="logo" alt=""><h1>Source Lines from a File</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/source_lines.R" class="external-link"><code>R/source_lines.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/source_lines.R" class="external-link"><code>R/source_lines.R</code></a></small>
<div class="d-none name"><code>source_lines.Rd</code></div> <div class="d-none name"><code>source_lines.Rd</code></div>
</div> </div>

View File

@ -40,7 +40,7 @@ A collection of tools for clinical trial data management and analysis in researc
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>stRoke: Clinical Stroke Research</h1> <img src="../logo.png" class="logo" alt=""><h1>stRoke: Clinical Stroke Research</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/stRoke-package.R" class="external-link"><code>R/stRoke-package.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/stRoke-package.R" class="external-link"><code>R/stRoke-package.R</code></a></small>
<div class="d-none name"><code>stRoke-package.Rd</code></div> <div class="d-none name"><code>stRoke-package.Rd</code></div>
</div> </div>

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Extract string based on regex pattern</h1> <img src="../logo.png" class="logo" alt=""><h1>Extract string based on regex pattern</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/str_extract.R" class="external-link"><code>R/str_extract.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/str_extract.R" class="external-link"><code>R/str_extract.R</code></a></small>
<div class="d-none name"><code>str_extract.Rd</code></div> <div class="d-none name"><code>str_extract.Rd</code></div>
</div> </div>

View File

@ -32,7 +32,7 @@
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Data frame with sample of TALOS data</h1> <img src="../logo.png" class="logo" alt=""><h1>Data frame with sample of TALOS data</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/talos.R" class="external-link"><code>R/talos.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/talos.R" class="external-link"><code>R/talos.R</code></a></small>
<div class="d-none name"><code>talos.Rd</code></div> <div class="d-none name"><code>talos.Rd</code></div>
</div> </div>

View File

@ -36,7 +36,7 @@ winning with a confidence interval an p-value testing."><meta property="og:image
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>Calculates the probability of winning</h1> <img src="../logo.png" class="logo" alt=""><h1>Calculates the probability of winning</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/win_prob.R" class="external-link"><code>R/win_prob.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/win_prob.R" class="external-link"><code>R/win_prob.R</code></a></small>
<div class="d-none name"><code>win_prob.Rd</code></div> <div class="d-none name"><code>win_prob.Rd</code></div>
</div> </div>

View File

@ -34,7 +34,7 @@ Export as .ics file using calendar::ic_write()."><meta property="og:image" conte
<div class="row"> <div class="row">
<main id="main" class="col-md-9"><div class="page-header"> <main id="main" class="col-md-9"><div class="page-header">
<img src="../logo.png" class="logo" alt=""><h1>MOVED Write ical object</h1> <img src="../logo.png" class="logo" alt=""><h1>MOVED Write ical object</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/v24.10.1/R/write_ical.R" class="external-link"><code>R/write_ical.R</code></a></small> <small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/main/R/write_ical.R" class="external-link"><code>R/write_ical.R</code></a></small>
<div class="d-none name"><code>write_ical.Rd</code></div> <div class="d-none name"><code>write_ical.Rd</code></div>
</div> </div>

File diff suppressed because one or more lines are too long