mirror of
https://github.com/agdamsbo/stRoke.git
synced 2024-10-30 03:11:52 +01:00
747 lines
54 KiB
HTML
747 lines
54 KiB
HTML
<!DOCTYPE html>
|
||
<!-- Generated by pkgdown: do not edit by hand --><html lang="en">
|
||
<head>
|
||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
<meta charset="utf-8">
|
||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||
<meta name="description" content="stRoke">
|
||
<title>Toolbox • stRoke</title>
|
||
<script src="../deps/jquery-3.6.0/jquery-3.6.0.min.js"></script><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||
<link href="../deps/bootstrap-5.2.2/bootstrap.min.css" rel="stylesheet">
|
||
<script src="../deps/bootstrap-5.2.2/bootstrap.bundle.min.js"></script><!-- Font Awesome icons --><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/all.min.css" integrity="sha256-mmgLkCYLUQbXn0B1SRqzHar6dCnv9oZFPEC1g1cwlkk=" crossorigin="anonymous">
|
||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.1/css/v4-shims.min.css" integrity="sha256-wZjR52fzng1pJHwx4aV2AO3yyTOXrcDW7jBpJtTwVxw=" crossorigin="anonymous">
|
||
<!-- bootstrap-toc --><script src="https://cdn.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Toolbox">
|
||
<meta property="og:description" content="stRoke">
|
||
<!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js" integrity="sha256-nvJJv9wWKEm88qvoQl9ekL2J+k/RWIsaSScxxlsrv8k=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/config/TeX-AMS-MML_HTMLorMML.js" integrity="sha256-84DKXVJXs0/F8OTMzX4UR909+jtl4G7SPypPavF+GfA=" crossorigin="anonymous"></script><!--[if lt IE 9]>
|
||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||
<![endif]-->
|
||
</head>
|
||
<body>
|
||
<a href="#main" class="visually-hidden-focusable">Skip to contents</a>
|
||
|
||
|
||
<nav class="navbar fixed-top navbar-light navbar-expand-lg bg-light"><div class="container">
|
||
|
||
<a class="navbar-brand me-2" href="../index.html">stRoke</a>
|
||
|
||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.4</small>
|
||
|
||
|
||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation">
|
||
<span class="navbar-toggler-icon"></span>
|
||
</button>
|
||
|
||
<div id="navbar" class="collapse navbar-collapse ms-3">
|
||
<ul class="navbar-nav me-auto">
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="../reference/index.html">Reference</a>
|
||
</li>
|
||
<li class="active nav-item dropdown">
|
||
<a href="#" class="nav-link dropdown-toggle" data-bs-toggle="dropdown" role="button" aria-expanded="false" aria-haspopup="true" id="dropdown-articles">Articles</a>
|
||
<div class="dropdown-menu" aria-labelledby="dropdown-articles">
|
||
<a class="dropdown-item" href="../articles/redcap.html">Simple REDCap workflow</a>
|
||
<a class="dropdown-item" href="../articles/toolbox.html">Toolbox</a>
|
||
</div>
|
||
</li>
|
||
<li class="nav-item">
|
||
<a class="nav-link" href="../news/index.html">Changelog</a>
|
||
</li>
|
||
</ul>
|
||
<form class="form-inline my-2 my-lg-0" role="search">
|
||
<input type="search" class="form-control me-sm-2" aria-label="Toggle navigation" name="search-input" data-search-index="../search.json" id="search-input" placeholder="Search for" autocomplete="off">
|
||
</form>
|
||
|
||
<ul class="navbar-nav">
|
||
<li class="nav-item">
|
||
<a class="external-link nav-link" href="https://github.com/agdamsbo/stRoke/" aria-label="github">
|
||
<span class="fab fa fab fa-github fa-lg"></span>
|
||
|
||
</a>
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
|
||
|
||
</div>
|
||
</nav><div class="container template-article">
|
||
|
||
|
||
|
||
|
||
<div class="row">
|
||
<main id="main" class="col-md-9"><div class="page-header">
|
||
<img src="" class="logo" alt=""><h1>Toolbox</h1>
|
||
|
||
|
||
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/HEAD/vignettes/toolbox.Rmd" class="external-link"><code>vignettes/toolbox.Rmd</code></a></small>
|
||
<div class="d-none name"><code>toolbox.Rmd</code></div>
|
||
</div>
|
||
|
||
|
||
|
||
<div class="sourceCode" id="cb1"><pre class="downlit sourceCode r">
|
||
<code class="sourceCode R"><span><span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">library</a></span><span class="op">(</span><span class="va"><a href="https://agdamsbo.github.io/stRoke/" class="external-link">stRoke</a></span><span class="op">)</span></span></code></pre></div>
|
||
<div class="section level2">
|
||
<h2 id="a-toolbox">A toolbox<a class="anchor" aria-label="anchor" href="#a-toolbox"></a>
|
||
</h2>
|
||
<p>My own toolbox in my small workshop is a mix of some old, worn, well
|
||
proven tools and some newcomers. This package should be seen as
|
||
something like that.</p>
|
||
<p>I have tried to collect tools and functions from other packages that
|
||
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
|
||
elsewhere.</p>
|
||
<p>In documenting and testing the package, I have used <a href="https://beta.openai.com/overview" class="external-link">OpenAI’s</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">
|
||
<h3 id="cpr-intro">CPR manipulations<a class="anchor" aria-label="anchor" href="#cpr-intro"></a>
|
||
</h3>
|
||
<p>Note that, if handled, CPR numbers (social security numbers) should
|
||
be handled with care as they a considered highly sensitive data.</p>
|
||
<p>The CPR number is structured as <em>DDMMYY-XXXX</em>, with the 1st
|
||
<em>X</em> designating decade of birth, the last <em>X</em> designate
|
||
binary gender (not biological sex) dependent on even/uneven as
|
||
female/male, and the last for digits are used in a modulus calculation
|
||
to verify the validity of the CPR number. Foreigners and unidentified
|
||
persons are given temporary CPR numbers including letters.</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
|
||
non-organic.</p>
|
||
<div class="section level4">
|
||
<h4 id="age_calc">age_calc()<a class="anchor" aria-label="anchor" href="#age_calc"></a>
|
||
</h4>
|
||
<p>The age_calc() function was created as a learning exercise and
|
||
functions similarly to <code><a href="https://lubridate.tidyverse.org/reference/time_length.html" class="external-link">lubridate::time_length()</a></code>.</p>
|
||
<div class="sourceCode" id="cb2"><pre class="downlit sourceCode r">
|
||
<code class="sourceCode R"><span><span class="op">(</span><span class="va">age</span> <span class="op"><-</span> <span class="fu"><a href="../reference/age_calc.html">age_calc</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/as.Date.html" class="external-link">as.Date</a></span><span class="op">(</span><span class="st">"1945-10-23"</span><span class="op">)</span>, <span class="fu"><a href="https://rdrr.io/r/base/as.Date.html" class="external-link">as.Date</a></span><span class="op">(</span><span class="st">"2018-09-30"</span><span class="op">)</span><span class="op">)</span><span class="op">)</span></span>
|
||
<span><span class="co">#> [1] 72.93699</span></span>
|
||
<span><span class="fu"><a href="https://rdrr.io/r/base/Round.html" class="external-link">trunc</a></span><span class="op">(</span><span class="va">age</span><span class="op">)</span></span>
|
||
<span><span class="co">#> [1] 72</span></span></code></pre></div>
|
||
</div>
|
||
<div class="section level4">
|
||
<h4 id="cpr_check">cpr_check()<a class="anchor" aria-label="anchor" href="#cpr_check"></a>
|
||
</h4>
|
||
<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
|
||
rule</a>. Note that due to limitations in the possible available CPR
|
||
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>
|
||
<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>
|
||
<span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span></span>
|
||
<span> <span class="st">"2310450637"</span>,</span>
|
||
<span> <span class="st">"010190-2000"</span>,</span>
|
||
<span> <span class="st">"010115-4000"</span>,</span>
|
||
<span> <span class="st">"300450-1030"</span>,</span>
|
||
<span> <span class="st">"010150-4021"</span>,</span>
|
||
<span> <span class="st">"010150-4AA1"</span></span>
|
||
<span> <span class="op">)</span></span>
|
||
<span><span class="op">)</span></span>
|
||
<span><span class="co">#> OBS: as per 2007 not all valid CPR numbers apply to modulus 11 rule.</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> See the vignette 'Toolbox'</span></span>
|
||
<span><span class="co">#> Warning in matrix(as.numeric(unlist(strsplit(cpr_short, ""))), nrow = 10): NAs</span></span>
|
||
<span><span class="co">#> introduced by coercion</span></span>
|
||
<span><span class="co">#> [1] TRUE FALSE FALSE FALSE FALSE NA</span></span></code></pre></div>
|
||
<p>Including CPR numbers with letters gives a warning and
|
||
<code>NA</code>, as it can not be checked by the modulus 11 function.
|
||
Should be used with care, see the message.</p>
|
||
</div>
|
||
<div class="section level4">
|
||
<h4 id="cpr_dob">cpr_dob()<a class="anchor" aria-label="anchor" href="#cpr_dob"></a>
|
||
</h4>
|
||
<p>Extracts date of birth (DOB) from a CPR number. Accounts for the
|
||
decade of birth. <a href="#cpr-intro">See earlier</a>.</p>
|
||
<div class="sourceCode" id="cb4"><pre class="downlit sourceCode r">
|
||
<code class="sourceCode R"><span><span class="fu"><a href="../reference/cpr_dob.html">cpr_dob</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span></span>
|
||
<span> <span class="st">"2310450637"</span>,</span>
|
||
<span> <span class="st">"010190-2000"</span>,</span>
|
||
<span> <span class="st">"010115-4000"</span>,</span>
|
||
<span> <span class="st">"300450-1030"</span>,</span>
|
||
<span> <span class="st">"010150-4021"</span></span>
|
||
<span><span class="op">)</span><span class="op">)</span></span>
|
||
<span><span class="co">#> [1] "23-10-1945" "01-01-1990" "01-01-2015" "30-04-1950" "01-01-1950"</span></span></code></pre></div>
|
||
</div>
|
||
<div class="section level4">
|
||
<h4 id="cpr_female">cpr_female()<a class="anchor" aria-label="anchor" href="#cpr_female"></a>
|
||
</h4>
|
||
<p>Gives logical vector of whether female gender from last digit of
|
||
CPR.</p>
|
||
<div class="sourceCode" id="cb5"><pre class="downlit sourceCode r">
|
||
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/base/table.html" class="external-link">table</a></span><span class="op">(</span><span class="fu"><a href="../reference/cpr_female.html">cpr_female</a></span><span class="op">(</span><span class="fu">stRoke</span><span class="fu">::</span><span class="va"><a href="../reference/cprs.html">cprs</a></span><span class="op">[</span>, <span class="fl">1</span><span class="op">]</span><span class="op">)</span><span class="op">)</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> FALSE TRUE </span></span>
|
||
<span><span class="co">#> 98 102</span></span></code></pre></div>
|
||
</div>
|
||
</div>
|
||
<div class="section level3">
|
||
<h3 id="plotting">Plotting<a class="anchor" aria-label="anchor" href="#plotting"></a>
|
||
</h3>
|
||
<div class="section level4">
|
||
<h4 id="ci_plot">ci_plot()<a class="anchor" aria-label="anchor" href="#ci_plot"></a>
|
||
</h4>
|
||
<p>Plots odds ratios with 95 % confidence intervals. Performs binary
|
||
logistic regression for outcome factors with two (2) levels and ordinal
|
||
logistic regression for outcome factors with more than two levels. Mind
|
||
relevant assumptions.</p>
|
||
<p>Outputs ggplot element for further manipulation.</p>
|
||
<div class="sourceCode" id="cb6"><pre class="downlit sourceCode r">
|
||
<code class="sourceCode R"><span><span class="fu"><a href="https://rdrr.io/r/utils/data.html" class="external-link">data</a></span><span class="op">(</span><span class="va">talos</span><span class="op">)</span></span>
|
||
<span><span class="va">talos</span><span class="op">[</span>, <span class="st">"mrs_1"</span><span class="op">]</span> <span class="op"><-</span> <span class="fu"><a href="https://rdrr.io/r/base/factor.html" class="external-link">factor</a></span><span class="op">(</span><span class="va">talos</span><span class="op">[</span>, <span class="st">"mrs_1"</span><span class="op">]</span>, ordered <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span></span>
|
||
<span><span class="fu"><a href="../reference/ci_plot.html">ci_plot</a></span><span class="op">(</span></span>
|
||
<span> ds <span class="op">=</span> <span class="va">talos</span>,</span>
|
||
<span> x <span class="op">=</span> <span class="st">"rtreat"</span>,</span>
|
||
<span> y <span class="op">=</span> <span class="st">"mrs_1"</span>,</span>
|
||
<span> vars <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"hypertension"</span>, <span class="st">"diabetes"</span><span class="op">)</span></span>
|
||
<span><span class="op">)</span></span>
|
||
<span><span class="co">#> Waiting for profiling to be done...</span></span></code></pre></div>
|
||
<p><img src="toolbox_files/figure-html/ci_plot-example-1.png" width="700"></p>
|
||
</div>
|
||
<div class="section level4">
|
||
<h4 id="generic_stroke">generic_stroke()<a class="anchor" aria-label="anchor" href="#generic_stroke"></a>
|
||
</h4>
|
||
<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
|
||
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
|
||
model plot (with <code><a href="../reference/ci_plot.html">stRoke::ci_plot()</a></code>).</p>
|
||
<div class="sourceCode" id="cb7"><pre class="downlit sourceCode r">
|
||
<code class="sourceCode R"><span><span class="fu"><a href="../reference/generic_stroke.html">generic_stroke</a></span><span class="op">(</span><span class="fu">stRoke</span><span class="fu">::</span><span class="va"><a href="../reference/talos.html">talos</a></span>,</span>
|
||
<span> <span class="st">"rtreat"</span>,</span>
|
||
<span> <span class="st">"mrs_6"</span>,</span>
|
||
<span> variables <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"hypertension"</span>, <span class="st">"diabetes"</span>, <span class="st">"civil"</span><span class="op">)</span><span class="op">)</span></span>
|
||
<span><span class="co">#> Waiting for profiling to be done...</span></span>
|
||
<span><span class="co">#> $`Table 1`</span></span>
|
||
<span><span class="co">#> <div id="vyuadpuzzm" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;"></span></span>
|
||
<span><span class="co">#> <style>html {</span></span>
|
||
<span><span class="co">#> font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', 'Fira Sans', 'Droid Sans', Arial, sans-serif;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_table {</span></span>
|
||
<span><span class="co">#> display: table;</span></span>
|
||
<span><span class="co">#> border-collapse: collapse;</span></span>
|
||
<span><span class="co">#> margin-left: auto;</span></span>
|
||
<span><span class="co">#> margin-right: auto;</span></span>
|
||
<span><span class="co">#> color: #333333;</span></span>
|
||
<span><span class="co">#> font-size: 16px;</span></span>
|
||
<span><span class="co">#> font-weight: normal;</span></span>
|
||
<span><span class="co">#> font-style: normal;</span></span>
|
||
<span><span class="co">#> background-color: #FFFFFF;</span></span>
|
||
<span><span class="co">#> width: auto;</span></span>
|
||
<span><span class="co">#> border-top-style: solid;</span></span>
|
||
<span><span class="co">#> border-top-width: 2px;</span></span>
|
||
<span><span class="co">#> border-top-color: #A8A8A8;</span></span>
|
||
<span><span class="co">#> border-right-style: none;</span></span>
|
||
<span><span class="co">#> border-right-width: 2px;</span></span>
|
||
<span><span class="co">#> border-right-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-bottom-style: solid;</span></span>
|
||
<span><span class="co">#> border-bottom-width: 2px;</span></span>
|
||
<span><span class="co">#> border-bottom-color: #A8A8A8;</span></span>
|
||
<span><span class="co">#> border-left-style: none;</span></span>
|
||
<span><span class="co">#> border-left-width: 2px;</span></span>
|
||
<span><span class="co">#> border-left-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_heading {</span></span>
|
||
<span><span class="co">#> background-color: #FFFFFF;</span></span>
|
||
<span><span class="co">#> text-align: center;</span></span>
|
||
<span><span class="co">#> border-bottom-color: #FFFFFF;</span></span>
|
||
<span><span class="co">#> border-left-style: none;</span></span>
|
||
<span><span class="co">#> border-left-width: 1px;</span></span>
|
||
<span><span class="co">#> border-left-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-right-style: none;</span></span>
|
||
<span><span class="co">#> border-right-width: 1px;</span></span>
|
||
<span><span class="co">#> border-right-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_caption {</span></span>
|
||
<span><span class="co">#> padding-top: 4px;</span></span>
|
||
<span><span class="co">#> padding-bottom: 4px;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_title {</span></span>
|
||
<span><span class="co">#> color: #333333;</span></span>
|
||
<span><span class="co">#> font-size: 125%;</span></span>
|
||
<span><span class="co">#> font-weight: initial;</span></span>
|
||
<span><span class="co">#> padding-top: 4px;</span></span>
|
||
<span><span class="co">#> padding-bottom: 4px;</span></span>
|
||
<span><span class="co">#> padding-left: 5px;</span></span>
|
||
<span><span class="co">#> padding-right: 5px;</span></span>
|
||
<span><span class="co">#> border-bottom-color: #FFFFFF;</span></span>
|
||
<span><span class="co">#> border-bottom-width: 0;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_subtitle {</span></span>
|
||
<span><span class="co">#> color: #333333;</span></span>
|
||
<span><span class="co">#> font-size: 85%;</span></span>
|
||
<span><span class="co">#> font-weight: initial;</span></span>
|
||
<span><span class="co">#> padding-top: 0;</span></span>
|
||
<span><span class="co">#> padding-bottom: 6px;</span></span>
|
||
<span><span class="co">#> padding-left: 5px;</span></span>
|
||
<span><span class="co">#> padding-right: 5px;</span></span>
|
||
<span><span class="co">#> border-top-color: #FFFFFF;</span></span>
|
||
<span><span class="co">#> border-top-width: 0;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_bottom_border {</span></span>
|
||
<span><span class="co">#> border-bottom-style: solid;</span></span>
|
||
<span><span class="co">#> border-bottom-width: 2px;</span></span>
|
||
<span><span class="co">#> border-bottom-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_col_headings {</span></span>
|
||
<span><span class="co">#> border-top-style: solid;</span></span>
|
||
<span><span class="co">#> border-top-width: 2px;</span></span>
|
||
<span><span class="co">#> border-top-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-bottom-style: solid;</span></span>
|
||
<span><span class="co">#> border-bottom-width: 2px;</span></span>
|
||
<span><span class="co">#> border-bottom-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-left-style: none;</span></span>
|
||
<span><span class="co">#> border-left-width: 1px;</span></span>
|
||
<span><span class="co">#> border-left-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-right-style: none;</span></span>
|
||
<span><span class="co">#> border-right-width: 1px;</span></span>
|
||
<span><span class="co">#> border-right-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_col_heading {</span></span>
|
||
<span><span class="co">#> color: #333333;</span></span>
|
||
<span><span class="co">#> background-color: #FFFFFF;</span></span>
|
||
<span><span class="co">#> font-size: 100%;</span></span>
|
||
<span><span class="co">#> font-weight: normal;</span></span>
|
||
<span><span class="co">#> text-transform: inherit;</span></span>
|
||
<span><span class="co">#> border-left-style: none;</span></span>
|
||
<span><span class="co">#> border-left-width: 1px;</span></span>
|
||
<span><span class="co">#> border-left-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-right-style: none;</span></span>
|
||
<span><span class="co">#> border-right-width: 1px;</span></span>
|
||
<span><span class="co">#> border-right-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> vertical-align: bottom;</span></span>
|
||
<span><span class="co">#> padding-top: 5px;</span></span>
|
||
<span><span class="co">#> padding-bottom: 6px;</span></span>
|
||
<span><span class="co">#> padding-left: 5px;</span></span>
|
||
<span><span class="co">#> padding-right: 5px;</span></span>
|
||
<span><span class="co">#> overflow-x: hidden;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_column_spanner_outer {</span></span>
|
||
<span><span class="co">#> color: #333333;</span></span>
|
||
<span><span class="co">#> background-color: #FFFFFF;</span></span>
|
||
<span><span class="co">#> font-size: 100%;</span></span>
|
||
<span><span class="co">#> font-weight: normal;</span></span>
|
||
<span><span class="co">#> text-transform: inherit;</span></span>
|
||
<span><span class="co">#> padding-top: 0;</span></span>
|
||
<span><span class="co">#> padding-bottom: 0;</span></span>
|
||
<span><span class="co">#> padding-left: 4px;</span></span>
|
||
<span><span class="co">#> padding-right: 4px;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_column_spanner_outer:first-child {</span></span>
|
||
<span><span class="co">#> padding-left: 0;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_column_spanner_outer:last-child {</span></span>
|
||
<span><span class="co">#> padding-right: 0;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_column_spanner {</span></span>
|
||
<span><span class="co">#> border-bottom-style: solid;</span></span>
|
||
<span><span class="co">#> border-bottom-width: 2px;</span></span>
|
||
<span><span class="co">#> border-bottom-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> vertical-align: bottom;</span></span>
|
||
<span><span class="co">#> padding-top: 5px;</span></span>
|
||
<span><span class="co">#> padding-bottom: 5px;</span></span>
|
||
<span><span class="co">#> overflow-x: hidden;</span></span>
|
||
<span><span class="co">#> display: inline-block;</span></span>
|
||
<span><span class="co">#> width: 100%;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_group_heading {</span></span>
|
||
<span><span class="co">#> padding-top: 8px;</span></span>
|
||
<span><span class="co">#> padding-bottom: 8px;</span></span>
|
||
<span><span class="co">#> padding-left: 5px;</span></span>
|
||
<span><span class="co">#> padding-right: 5px;</span></span>
|
||
<span><span class="co">#> color: #333333;</span></span>
|
||
<span><span class="co">#> background-color: #FFFFFF;</span></span>
|
||
<span><span class="co">#> font-size: 100%;</span></span>
|
||
<span><span class="co">#> font-weight: initial;</span></span>
|
||
<span><span class="co">#> text-transform: inherit;</span></span>
|
||
<span><span class="co">#> border-top-style: solid;</span></span>
|
||
<span><span class="co">#> border-top-width: 2px;</span></span>
|
||
<span><span class="co">#> border-top-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-bottom-style: solid;</span></span>
|
||
<span><span class="co">#> border-bottom-width: 2px;</span></span>
|
||
<span><span class="co">#> border-bottom-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-left-style: none;</span></span>
|
||
<span><span class="co">#> border-left-width: 1px;</span></span>
|
||
<span><span class="co">#> border-left-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-right-style: none;</span></span>
|
||
<span><span class="co">#> border-right-width: 1px;</span></span>
|
||
<span><span class="co">#> border-right-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> vertical-align: middle;</span></span>
|
||
<span><span class="co">#> text-align: left;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_empty_group_heading {</span></span>
|
||
<span><span class="co">#> padding: 0.5px;</span></span>
|
||
<span><span class="co">#> color: #333333;</span></span>
|
||
<span><span class="co">#> background-color: #FFFFFF;</span></span>
|
||
<span><span class="co">#> font-size: 100%;</span></span>
|
||
<span><span class="co">#> font-weight: initial;</span></span>
|
||
<span><span class="co">#> border-top-style: solid;</span></span>
|
||
<span><span class="co">#> border-top-width: 2px;</span></span>
|
||
<span><span class="co">#> border-top-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-bottom-style: solid;</span></span>
|
||
<span><span class="co">#> border-bottom-width: 2px;</span></span>
|
||
<span><span class="co">#> border-bottom-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> vertical-align: middle;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_from_md > :first-child {</span></span>
|
||
<span><span class="co">#> margin-top: 0;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_from_md > :last-child {</span></span>
|
||
<span><span class="co">#> margin-bottom: 0;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_row {</span></span>
|
||
<span><span class="co">#> padding-top: 8px;</span></span>
|
||
<span><span class="co">#> padding-bottom: 8px;</span></span>
|
||
<span><span class="co">#> padding-left: 5px;</span></span>
|
||
<span><span class="co">#> padding-right: 5px;</span></span>
|
||
<span><span class="co">#> margin: 10px;</span></span>
|
||
<span><span class="co">#> border-top-style: solid;</span></span>
|
||
<span><span class="co">#> border-top-width: 1px;</span></span>
|
||
<span><span class="co">#> border-top-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-left-style: none;</span></span>
|
||
<span><span class="co">#> border-left-width: 1px;</span></span>
|
||
<span><span class="co">#> border-left-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-right-style: none;</span></span>
|
||
<span><span class="co">#> border-right-width: 1px;</span></span>
|
||
<span><span class="co">#> border-right-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> vertical-align: middle;</span></span>
|
||
<span><span class="co">#> overflow-x: hidden;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_stub {</span></span>
|
||
<span><span class="co">#> color: #333333;</span></span>
|
||
<span><span class="co">#> background-color: #FFFFFF;</span></span>
|
||
<span><span class="co">#> font-size: 100%;</span></span>
|
||
<span><span class="co">#> font-weight: initial;</span></span>
|
||
<span><span class="co">#> text-transform: inherit;</span></span>
|
||
<span><span class="co">#> border-right-style: solid;</span></span>
|
||
<span><span class="co">#> border-right-width: 2px;</span></span>
|
||
<span><span class="co">#> border-right-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> padding-left: 5px;</span></span>
|
||
<span><span class="co">#> padding-right: 5px;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_stub_row_group {</span></span>
|
||
<span><span class="co">#> color: #333333;</span></span>
|
||
<span><span class="co">#> background-color: #FFFFFF;</span></span>
|
||
<span><span class="co">#> font-size: 100%;</span></span>
|
||
<span><span class="co">#> font-weight: initial;</span></span>
|
||
<span><span class="co">#> text-transform: inherit;</span></span>
|
||
<span><span class="co">#> border-right-style: solid;</span></span>
|
||
<span><span class="co">#> border-right-width: 2px;</span></span>
|
||
<span><span class="co">#> border-right-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> padding-left: 5px;</span></span>
|
||
<span><span class="co">#> padding-right: 5px;</span></span>
|
||
<span><span class="co">#> vertical-align: top;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_row_group_first td {</span></span>
|
||
<span><span class="co">#> border-top-width: 2px;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_summary_row {</span></span>
|
||
<span><span class="co">#> color: #333333;</span></span>
|
||
<span><span class="co">#> background-color: #FFFFFF;</span></span>
|
||
<span><span class="co">#> text-transform: inherit;</span></span>
|
||
<span><span class="co">#> padding-top: 8px;</span></span>
|
||
<span><span class="co">#> padding-bottom: 8px;</span></span>
|
||
<span><span class="co">#> padding-left: 5px;</span></span>
|
||
<span><span class="co">#> padding-right: 5px;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_first_summary_row {</span></span>
|
||
<span><span class="co">#> border-top-style: solid;</span></span>
|
||
<span><span class="co">#> border-top-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_first_summary_row.thick {</span></span>
|
||
<span><span class="co">#> border-top-width: 2px;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_last_summary_row {</span></span>
|
||
<span><span class="co">#> padding-top: 8px;</span></span>
|
||
<span><span class="co">#> padding-bottom: 8px;</span></span>
|
||
<span><span class="co">#> padding-left: 5px;</span></span>
|
||
<span><span class="co">#> padding-right: 5px;</span></span>
|
||
<span><span class="co">#> border-bottom-style: solid;</span></span>
|
||
<span><span class="co">#> border-bottom-width: 2px;</span></span>
|
||
<span><span class="co">#> border-bottom-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_grand_summary_row {</span></span>
|
||
<span><span class="co">#> color: #333333;</span></span>
|
||
<span><span class="co">#> background-color: #FFFFFF;</span></span>
|
||
<span><span class="co">#> text-transform: inherit;</span></span>
|
||
<span><span class="co">#> padding-top: 8px;</span></span>
|
||
<span><span class="co">#> padding-bottom: 8px;</span></span>
|
||
<span><span class="co">#> padding-left: 5px;</span></span>
|
||
<span><span class="co">#> padding-right: 5px;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_first_grand_summary_row {</span></span>
|
||
<span><span class="co">#> padding-top: 8px;</span></span>
|
||
<span><span class="co">#> padding-bottom: 8px;</span></span>
|
||
<span><span class="co">#> padding-left: 5px;</span></span>
|
||
<span><span class="co">#> padding-right: 5px;</span></span>
|
||
<span><span class="co">#> border-top-style: double;</span></span>
|
||
<span><span class="co">#> border-top-width: 6px;</span></span>
|
||
<span><span class="co">#> border-top-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_striped {</span></span>
|
||
<span><span class="co">#> background-color: rgba(128, 128, 128, 0.05);</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_table_body {</span></span>
|
||
<span><span class="co">#> border-top-style: solid;</span></span>
|
||
<span><span class="co">#> border-top-width: 2px;</span></span>
|
||
<span><span class="co">#> border-top-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-bottom-style: solid;</span></span>
|
||
<span><span class="co">#> border-bottom-width: 2px;</span></span>
|
||
<span><span class="co">#> border-bottom-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_footnotes {</span></span>
|
||
<span><span class="co">#> color: #333333;</span></span>
|
||
<span><span class="co">#> background-color: #FFFFFF;</span></span>
|
||
<span><span class="co">#> border-bottom-style: none;</span></span>
|
||
<span><span class="co">#> border-bottom-width: 2px;</span></span>
|
||
<span><span class="co">#> border-bottom-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-left-style: none;</span></span>
|
||
<span><span class="co">#> border-left-width: 2px;</span></span>
|
||
<span><span class="co">#> border-left-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-right-style: none;</span></span>
|
||
<span><span class="co">#> border-right-width: 2px;</span></span>
|
||
<span><span class="co">#> border-right-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_footnote {</span></span>
|
||
<span><span class="co">#> margin: 0px;</span></span>
|
||
<span><span class="co">#> font-size: 90%;</span></span>
|
||
<span><span class="co">#> padding-left: 4px;</span></span>
|
||
<span><span class="co">#> padding-right: 4px;</span></span>
|
||
<span><span class="co">#> padding-left: 5px;</span></span>
|
||
<span><span class="co">#> padding-right: 5px;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_sourcenotes {</span></span>
|
||
<span><span class="co">#> color: #333333;</span></span>
|
||
<span><span class="co">#> background-color: #FFFFFF;</span></span>
|
||
<span><span class="co">#> border-bottom-style: none;</span></span>
|
||
<span><span class="co">#> border-bottom-width: 2px;</span></span>
|
||
<span><span class="co">#> border-bottom-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-left-style: none;</span></span>
|
||
<span><span class="co">#> border-left-width: 2px;</span></span>
|
||
<span><span class="co">#> border-left-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> border-right-style: none;</span></span>
|
||
<span><span class="co">#> border-right-width: 2px;</span></span>
|
||
<span><span class="co">#> border-right-color: #D3D3D3;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_sourcenote {</span></span>
|
||
<span><span class="co">#> font-size: 90%;</span></span>
|
||
<span><span class="co">#> padding-top: 4px;</span></span>
|
||
<span><span class="co">#> padding-bottom: 4px;</span></span>
|
||
<span><span class="co">#> padding-left: 5px;</span></span>
|
||
<span><span class="co">#> padding-right: 5px;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_left {</span></span>
|
||
<span><span class="co">#> text-align: left;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_center {</span></span>
|
||
<span><span class="co">#> text-align: center;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_right {</span></span>
|
||
<span><span class="co">#> text-align: right;</span></span>
|
||
<span><span class="co">#> font-variant-numeric: tabular-nums;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_font_normal {</span></span>
|
||
<span><span class="co">#> font-weight: normal;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_font_bold {</span></span>
|
||
<span><span class="co">#> font-weight: bold;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_font_italic {</span></span>
|
||
<span><span class="co">#> font-style: italic;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_super {</span></span>
|
||
<span><span class="co">#> font-size: 65%;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_footnote_marks {</span></span>
|
||
<span><span class="co">#> font-style: italic;</span></span>
|
||
<span><span class="co">#> font-weight: normal;</span></span>
|
||
<span><span class="co">#> font-size: 75%;</span></span>
|
||
<span><span class="co">#> vertical-align: 0.4em;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_asterisk {</span></span>
|
||
<span><span class="co">#> font-size: 100%;</span></span>
|
||
<span><span class="co">#> vertical-align: 0;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_indent_1 {</span></span>
|
||
<span><span class="co">#> text-indent: 5px;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_indent_2 {</span></span>
|
||
<span><span class="co">#> text-indent: 10px;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_indent_3 {</span></span>
|
||
<span><span class="co">#> text-indent: 15px;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_indent_4 {</span></span>
|
||
<span><span class="co">#> text-indent: 20px;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> #vyuadpuzzm .gt_indent_5 {</span></span>
|
||
<span><span class="co">#> text-indent: 25px;</span></span>
|
||
<span><span class="co">#> }</span></span>
|
||
<span><span class="co">#> </style></span></span>
|
||
<span><span class="co">#> <table class="gt_table"></span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> <thead class="gt_col_headings"></span></span>
|
||
<span><span class="co">#> <tr></span></span>
|
||
<span><span class="co">#> <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="&lt;strong&gt;Characteristic&lt;/strong&gt;"><strong>Characteristic</strong></th></span></span>
|
||
<span><span class="co">#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&lt;strong&gt;Overall&lt;/strong&gt;, N = 200&lt;sup class=&quot;gt_footnote_marks&quot;&gt;1&lt;/sup&gt;"><strong>Overall</strong>, N = 200<sup class="gt_footnote_marks">1</sup></th></span></span>
|
||
<span><span class="co">#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&lt;strong&gt;Active&lt;/strong&gt;, N = 79&lt;sup class=&quot;gt_footnote_marks&quot;&gt;1&lt;/sup&gt;"><strong>Active</strong>, N = 79<sup class="gt_footnote_marks">1</sup></th></span></span>
|
||
<span><span class="co">#> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&lt;strong&gt;Placebo&lt;/strong&gt;, N = 121&lt;sup class=&quot;gt_footnote_marks&quot;&gt;1&lt;/sup&gt;"><strong>Placebo</strong>, N = 121<sup class="gt_footnote_marks">1</sup></th></span></span>
|
||
<span><span class="co">#> </tr></span></span>
|
||
<span><span class="co">#> </thead></span></span>
|
||
<span><span class="co">#> <tbody class="gt_table_body"></span></span>
|
||
<span><span class="co">#> <tr><td headers="label" class="gt_row gt_left">hypertension</td></span></span>
|
||
<span><span class="co">#> <td headers="stat_0" class="gt_row gt_center">101 (50%)</td></span></span>
|
||
<span><span class="co">#> <td headers="stat_1" class="gt_row gt_center">38 (48%)</td></span></span>
|
||
<span><span class="co">#> <td headers="stat_2" class="gt_row gt_center">63 (52%)</td></tr></span></span>
|
||
<span><span class="co">#> <tr><td headers="label" class="gt_row gt_left">diabetes</td></span></span>
|
||
<span><span class="co">#> <td headers="stat_0" class="gt_row gt_center">23 (12%)</td></span></span>
|
||
<span><span class="co">#> <td headers="stat_1" class="gt_row gt_center">9 (11%)</td></span></span>
|
||
<span><span class="co">#> <td headers="stat_2" class="gt_row gt_center">14 (12%)</td></tr></span></span>
|
||
<span><span class="co">#> <tr><td headers="label" class="gt_row gt_left">civil</td></span></span>
|
||
<span><span class="co">#> <td headers="stat_0" class="gt_row gt_center"></td></span></span>
|
||
<span><span class="co">#> <td headers="stat_1" class="gt_row gt_center"></td></span></span>
|
||
<span><span class="co">#> <td headers="stat_2" class="gt_row gt_center"></td></tr></span></span>
|
||
<span><span class="co">#> <tr><td headers="label" class="gt_row gt_left"> alone</td></span></span>
|
||
<span><span class="co">#> <td headers="stat_0" class="gt_row gt_center">59 (30%)</td></span></span>
|
||
<span><span class="co">#> <td headers="stat_1" class="gt_row gt_center">22 (28%)</td></span></span>
|
||
<span><span class="co">#> <td headers="stat_2" class="gt_row gt_center">37 (31%)</td></tr></span></span>
|
||
<span><span class="co">#> <tr><td headers="label" class="gt_row gt_left"> partner</td></span></span>
|
||
<span><span class="co">#> <td headers="stat_0" class="gt_row gt_center">141 (70%)</td></span></span>
|
||
<span><span class="co">#> <td headers="stat_1" class="gt_row gt_center">57 (72%)</td></span></span>
|
||
<span><span class="co">#> <td headers="stat_2" class="gt_row gt_center">84 (69%)</td></tr></span></span>
|
||
<span><span class="co">#> </tbody></span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> <tfoot class="gt_footnotes"></span></span>
|
||
<span><span class="co">#> <tr></span></span>
|
||
<span><span class="co">#> <td class="gt_footnote" colspan="4"><sup class="gt_footnote_marks">1</sup> n (%)</td></span></span>
|
||
<span><span class="co">#> </tr></span></span>
|
||
<span><span class="co">#> </tfoot></span></span>
|
||
<span><span class="co">#> </table></span></span>
|
||
<span><span class="co">#> </div></span></span>
|
||
<span><span class="co">#> </span></span>
|
||
<span><span class="co">#> $`Figure 1`</span></span></code></pre></div>
|
||
<p><img src="toolbox_files/figure-html/generic_stroke-example-1.png" width="700"></p>
|
||
<pre><code><span><span class="co">#> </span></span>
|
||
<span><span class="co">#> $`Figure 2`</span></span></code></pre>
|
||
<p><img src="toolbox_files/figure-html/generic_stroke-example-2.png" width="700"></p>
|
||
<p>You can make a combined plot of the ppplot elements with
|
||
<code><a href="https://patchwork.data-imaginist.com" class="external-link">library(patchwork)</a></code> and use <code><a href="../reference/gt_plot.html">gt_plot()</a></code> to plot
|
||
gt elements.</p>
|
||
<div class="sourceCode" id="cb9"><pre class="downlit sourceCode r">
|
||
<code class="sourceCode R"><span><span class="kw">if</span> <span class="op">(</span><span class="op">!</span><span class="fu"><a href="https://rdrr.io/r/base/ns-load.html" class="external-link">requireNamespace</a></span><span class="op">(</span><span class="st">"patchwork"</span>, quietly <span class="op">=</span> <span class="cn">TRUE</span><span class="op">)</span><span class="op">)</span> <span class="op">{</span></span>
|
||
<span> <span class="fu"><a href="https://rdrr.io/r/utils/install.packages.html" class="external-link">install.packages</a></span><span class="op">(</span><span class="st">"patchwork"</span><span class="op">)</span></span>
|
||
<span> <span class="op">}</span> <span class="kw">else</span> <span class="kw"><a href="https://rdrr.io/r/base/library.html" class="external-link">require</a></span><span class="op">(</span><span class="va"><a href="https://patchwork.data-imaginist.com" class="external-link">patchwork</a></span><span class="op">)</span></span>
|
||
<span><span class="co">#> Loading required package: patchwork</span></span>
|
||
<span></span>
|
||
<span><span class="fu"><a href="https://rdrr.io/r/utils/data.html" class="external-link">data</a></span><span class="op">(</span><span class="va">talos</span><span class="op">)</span></span>
|
||
<span><span class="va">talos</span><span class="op">[</span>, <span class="st">"alone"</span><span class="op">]</span> <span class="op"><-</span></span>
|
||
<span> <span class="fu"><a href="https://rdrr.io/r/base/factor.html" class="external-link">factor</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/ifelse.html" class="external-link">ifelse</a></span><span class="op">(</span><span class="va">talos</span><span class="op">[</span>, <span class="st">"civil"</span><span class="op">]</span> <span class="op">==</span> <span class="st">"alone"</span>, <span class="st">"yes"</span>, <span class="st">"no"</span><span class="op">)</span><span class="op">)</span></span>
|
||
<span><span class="va">talos</span><span class="op">[</span>, <span class="st">"placebo"</span><span class="op">]</span> <span class="op"><-</span></span>
|
||
<span> <span class="fu"><a href="https://rdrr.io/r/base/factor.html" class="external-link">factor</a></span><span class="op">(</span><span class="fu"><a href="https://rdrr.io/r/base/ifelse.html" class="external-link">ifelse</a></span><span class="op">(</span><span class="va">talos</span><span class="op">[</span>, <span class="st">"rtreat"</span><span class="op">]</span> <span class="op">==</span> <span class="st">"Placebo"</span>, <span class="st">"yes"</span>, <span class="st">"no"</span><span class="op">)</span><span class="op">)</span></span>
|
||
<span><span class="va">l</span> <span class="op"><-</span></span>
|
||
<span> <span class="fu"><a href="../reference/generic_stroke.html">generic_stroke</a></span><span class="op">(</span></span>
|
||
<span> df <span class="op">=</span> <span class="va">talos</span>,</span>
|
||
<span> group <span class="op">=</span> <span class="st">"placebo"</span>,</span>
|
||
<span> score <span class="op">=</span> <span class="st">"mrs_6"</span>,</span>
|
||
<span> variables <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/c.html" class="external-link">c</a></span><span class="op">(</span><span class="st">"hypertension"</span>, <span class="st">"diabetes"</span>, <span class="st">"alone"</span><span class="op">)</span></span>
|
||
<span> <span class="op">)</span></span>
|
||
<span><span class="co">#> Waiting for profiling to be done...</span></span>
|
||
<span></span>
|
||
<span><span class="co"># l[[1]] |> gt_plot() </span></span>
|
||
<span></span>
|
||
<span><span class="va">l</span><span class="op">[[</span><span class="fl">2</span><span class="op">]</span><span class="op">]</span> <span class="op">+</span> <span class="va">l</span><span class="op">[[</span><span class="fl">3</span><span class="op">]</span><span class="op">]</span></span></code></pre></div>
|
||
<p><img src="toolbox_files/figure-html/gt_plot-example-1.png" width="700"></p>
|
||
</div>
|
||
<div class="section level4">
|
||
<h4 id="index_plot">index_plot()<a class="anchor" aria-label="anchor" href="#index_plot"></a>
|
||
</h4>
|
||
<p>Used for plotting scores from a multi dimensional patient test.</p>
|
||
<div class="sourceCode" id="cb10"><pre class="downlit sourceCode r">
|
||
<code class="sourceCode R"><span><span class="fu"><a href="../reference/index_plot.html">index_plot</a></span><span class="op">(</span><span class="fu">stRoke</span><span class="fu">::</span><span class="va"><a href="../reference/score.html">score</a></span><span class="op">[</span><span class="va">score</span><span class="op">$</span><span class="va">event</span> <span class="op">==</span> <span class="st">"A"</span>, <span class="op">]</span><span class="op">)</span></span></code></pre></div>
|
||
<p><img src="toolbox_files/figure-html/index_plot-example-1.png" width="700"></p>
|
||
</div>
|
||
<div class="section level4">
|
||
<h4 id="read_redcap_tables">read_redcap_tables()<a class="anchor" aria-label="anchor" href="#read_redcap_tables"></a>
|
||
</h4>
|
||
<p>Reads REDCap data accounting for events and repeated instruments.
|
||
Based on <code><a href="https://ouhscbbmc.github.io/REDCapR/" class="external-link">library(REDCapR)</a></code> and
|
||
<code><a href="https://rdrr.io/r/base/library.html" class="external-link">library(agdamsbo/REDCapRITS)</a></code>.</p>
|
||
<p>Please see <a href="https://agdamsbo.github.io/stRoke/articles/redcap.html" class="external-link">the
|
||
vignette on REDCap</a>.</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
||
</nav></aside>
|
||
</div>
|
||
|
||
|
||
|
||
<footer><div class="pkgdown-footer-left">
|
||
<p></p>
|
||
<p>Developed by Andreas Gammelgaard Damsbo.</p>
|
||
</div>
|
||
|
||
<div class="pkgdown-footer-right">
|
||
<p></p>
|
||
<p>Site built with <a href="https://pkgdown.r-lib.org/" class="external-link">pkgdown</a> 2.0.7.</p>
|
||
</div>
|
||
|
||
</footer>
|
||
</div>
|
||
|
||
|
||
|
||
|
||
|
||
</body>
|
||
</html>
|