stRoke/docs/articles/Toolbox.html
2023-04-13 13:55:10 +02:00

1022 lines
75 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!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="">23.4.1</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/ds2dd.html">ds2dd</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>
<h4 data-toc-skip class="date">2023-04-13</h4>
<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://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">
<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">&lt;-</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">#&gt; [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">#&gt; [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">#&gt; OBS: as per 2007 not all valid CPR numbers apply to modulus 11 rule.</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; See the vignette 'Toolbox'</span></span>
<span><span class="co">#&gt; Warning in matrix(as.numeric(unlist(strsplit(cpr_short, ""))), nrow = 10): NAs</span></span>
<span><span class="co">#&gt; introduced by coercion</span></span>
<span><span class="co">#&gt; [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">#&gt; [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">#&gt; </span></span>
<span><span class="co">#&gt; FALSE TRUE </span></span>
<span><span class="co">#&gt; 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">&lt;-</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">#&gt; 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">#&gt; Waiting for profiling to be done...</span></span>
<span><span class="co">#&gt; $`Table 1`</span></span>
<span><span class="co">#&gt; &lt;div id="fzlccdqrrt" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;"&gt;</span></span>
<span><span class="co">#&gt; &lt;style&gt;html {</span></span>
<span><span class="co">#&gt; 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">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_table {</span></span>
<span><span class="co">#&gt; display: table;</span></span>
<span><span class="co">#&gt; border-collapse: collapse;</span></span>
<span><span class="co">#&gt; margin-left: auto;</span></span>
<span><span class="co">#&gt; margin-right: auto;</span></span>
<span><span class="co">#&gt; color: #333333;</span></span>
<span><span class="co">#&gt; font-size: 16px;</span></span>
<span><span class="co">#&gt; font-weight: normal;</span></span>
<span><span class="co">#&gt; font-style: normal;</span></span>
<span><span class="co">#&gt; background-color: #FFFFFF;</span></span>
<span><span class="co">#&gt; width: auto;</span></span>
<span><span class="co">#&gt; border-top-style: solid;</span></span>
<span><span class="co">#&gt; border-top-width: 2px;</span></span>
<span><span class="co">#&gt; border-top-color: #A8A8A8;</span></span>
<span><span class="co">#&gt; border-right-style: none;</span></span>
<span><span class="co">#&gt; border-right-width: 2px;</span></span>
<span><span class="co">#&gt; border-right-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-bottom-style: solid;</span></span>
<span><span class="co">#&gt; border-bottom-width: 2px;</span></span>
<span><span class="co">#&gt; border-bottom-color: #A8A8A8;</span></span>
<span><span class="co">#&gt; border-left-style: none;</span></span>
<span><span class="co">#&gt; border-left-width: 2px;</span></span>
<span><span class="co">#&gt; border-left-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_heading {</span></span>
<span><span class="co">#&gt; background-color: #FFFFFF;</span></span>
<span><span class="co">#&gt; text-align: center;</span></span>
<span><span class="co">#&gt; border-bottom-color: #FFFFFF;</span></span>
<span><span class="co">#&gt; border-left-style: none;</span></span>
<span><span class="co">#&gt; border-left-width: 1px;</span></span>
<span><span class="co">#&gt; border-left-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-right-style: none;</span></span>
<span><span class="co">#&gt; border-right-width: 1px;</span></span>
<span><span class="co">#&gt; border-right-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_caption {</span></span>
<span><span class="co">#&gt; padding-top: 4px;</span></span>
<span><span class="co">#&gt; padding-bottom: 4px;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_title {</span></span>
<span><span class="co">#&gt; color: #333333;</span></span>
<span><span class="co">#&gt; font-size: 125%;</span></span>
<span><span class="co">#&gt; font-weight: initial;</span></span>
<span><span class="co">#&gt; padding-top: 4px;</span></span>
<span><span class="co">#&gt; padding-bottom: 4px;</span></span>
<span><span class="co">#&gt; padding-left: 5px;</span></span>
<span><span class="co">#&gt; padding-right: 5px;</span></span>
<span><span class="co">#&gt; border-bottom-color: #FFFFFF;</span></span>
<span><span class="co">#&gt; border-bottom-width: 0;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_subtitle {</span></span>
<span><span class="co">#&gt; color: #333333;</span></span>
<span><span class="co">#&gt; font-size: 85%;</span></span>
<span><span class="co">#&gt; font-weight: initial;</span></span>
<span><span class="co">#&gt; padding-top: 0;</span></span>
<span><span class="co">#&gt; padding-bottom: 6px;</span></span>
<span><span class="co">#&gt; padding-left: 5px;</span></span>
<span><span class="co">#&gt; padding-right: 5px;</span></span>
<span><span class="co">#&gt; border-top-color: #FFFFFF;</span></span>
<span><span class="co">#&gt; border-top-width: 0;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_bottom_border {</span></span>
<span><span class="co">#&gt; border-bottom-style: solid;</span></span>
<span><span class="co">#&gt; border-bottom-width: 2px;</span></span>
<span><span class="co">#&gt; border-bottom-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_col_headings {</span></span>
<span><span class="co">#&gt; border-top-style: solid;</span></span>
<span><span class="co">#&gt; border-top-width: 2px;</span></span>
<span><span class="co">#&gt; border-top-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-bottom-style: solid;</span></span>
<span><span class="co">#&gt; border-bottom-width: 2px;</span></span>
<span><span class="co">#&gt; border-bottom-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-left-style: none;</span></span>
<span><span class="co">#&gt; border-left-width: 1px;</span></span>
<span><span class="co">#&gt; border-left-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-right-style: none;</span></span>
<span><span class="co">#&gt; border-right-width: 1px;</span></span>
<span><span class="co">#&gt; border-right-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_col_heading {</span></span>
<span><span class="co">#&gt; color: #333333;</span></span>
<span><span class="co">#&gt; background-color: #FFFFFF;</span></span>
<span><span class="co">#&gt; font-size: 100%;</span></span>
<span><span class="co">#&gt; font-weight: normal;</span></span>
<span><span class="co">#&gt; text-transform: inherit;</span></span>
<span><span class="co">#&gt; border-left-style: none;</span></span>
<span><span class="co">#&gt; border-left-width: 1px;</span></span>
<span><span class="co">#&gt; border-left-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-right-style: none;</span></span>
<span><span class="co">#&gt; border-right-width: 1px;</span></span>
<span><span class="co">#&gt; border-right-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; vertical-align: bottom;</span></span>
<span><span class="co">#&gt; padding-top: 5px;</span></span>
<span><span class="co">#&gt; padding-bottom: 6px;</span></span>
<span><span class="co">#&gt; padding-left: 5px;</span></span>
<span><span class="co">#&gt; padding-right: 5px;</span></span>
<span><span class="co">#&gt; overflow-x: hidden;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_column_spanner_outer {</span></span>
<span><span class="co">#&gt; color: #333333;</span></span>
<span><span class="co">#&gt; background-color: #FFFFFF;</span></span>
<span><span class="co">#&gt; font-size: 100%;</span></span>
<span><span class="co">#&gt; font-weight: normal;</span></span>
<span><span class="co">#&gt; text-transform: inherit;</span></span>
<span><span class="co">#&gt; padding-top: 0;</span></span>
<span><span class="co">#&gt; padding-bottom: 0;</span></span>
<span><span class="co">#&gt; padding-left: 4px;</span></span>
<span><span class="co">#&gt; padding-right: 4px;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_column_spanner_outer:first-child {</span></span>
<span><span class="co">#&gt; padding-left: 0;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_column_spanner_outer:last-child {</span></span>
<span><span class="co">#&gt; padding-right: 0;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_column_spanner {</span></span>
<span><span class="co">#&gt; border-bottom-style: solid;</span></span>
<span><span class="co">#&gt; border-bottom-width: 2px;</span></span>
<span><span class="co">#&gt; border-bottom-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; vertical-align: bottom;</span></span>
<span><span class="co">#&gt; padding-top: 5px;</span></span>
<span><span class="co">#&gt; padding-bottom: 5px;</span></span>
<span><span class="co">#&gt; overflow-x: hidden;</span></span>
<span><span class="co">#&gt; display: inline-block;</span></span>
<span><span class="co">#&gt; width: 100%;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_group_heading {</span></span>
<span><span class="co">#&gt; padding-top: 8px;</span></span>
<span><span class="co">#&gt; padding-bottom: 8px;</span></span>
<span><span class="co">#&gt; padding-left: 5px;</span></span>
<span><span class="co">#&gt; padding-right: 5px;</span></span>
<span><span class="co">#&gt; color: #333333;</span></span>
<span><span class="co">#&gt; background-color: #FFFFFF;</span></span>
<span><span class="co">#&gt; font-size: 100%;</span></span>
<span><span class="co">#&gt; font-weight: initial;</span></span>
<span><span class="co">#&gt; text-transform: inherit;</span></span>
<span><span class="co">#&gt; border-top-style: solid;</span></span>
<span><span class="co">#&gt; border-top-width: 2px;</span></span>
<span><span class="co">#&gt; border-top-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-bottom-style: solid;</span></span>
<span><span class="co">#&gt; border-bottom-width: 2px;</span></span>
<span><span class="co">#&gt; border-bottom-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-left-style: none;</span></span>
<span><span class="co">#&gt; border-left-width: 1px;</span></span>
<span><span class="co">#&gt; border-left-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-right-style: none;</span></span>
<span><span class="co">#&gt; border-right-width: 1px;</span></span>
<span><span class="co">#&gt; border-right-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; vertical-align: middle;</span></span>
<span><span class="co">#&gt; text-align: left;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_empty_group_heading {</span></span>
<span><span class="co">#&gt; padding: 0.5px;</span></span>
<span><span class="co">#&gt; color: #333333;</span></span>
<span><span class="co">#&gt; background-color: #FFFFFF;</span></span>
<span><span class="co">#&gt; font-size: 100%;</span></span>
<span><span class="co">#&gt; font-weight: initial;</span></span>
<span><span class="co">#&gt; border-top-style: solid;</span></span>
<span><span class="co">#&gt; border-top-width: 2px;</span></span>
<span><span class="co">#&gt; border-top-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-bottom-style: solid;</span></span>
<span><span class="co">#&gt; border-bottom-width: 2px;</span></span>
<span><span class="co">#&gt; border-bottom-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; vertical-align: middle;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_from_md &gt; :first-child {</span></span>
<span><span class="co">#&gt; margin-top: 0;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_from_md &gt; :last-child {</span></span>
<span><span class="co">#&gt; margin-bottom: 0;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_row {</span></span>
<span><span class="co">#&gt; padding-top: 8px;</span></span>
<span><span class="co">#&gt; padding-bottom: 8px;</span></span>
<span><span class="co">#&gt; padding-left: 5px;</span></span>
<span><span class="co">#&gt; padding-right: 5px;</span></span>
<span><span class="co">#&gt; margin: 10px;</span></span>
<span><span class="co">#&gt; border-top-style: solid;</span></span>
<span><span class="co">#&gt; border-top-width: 1px;</span></span>
<span><span class="co">#&gt; border-top-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-left-style: none;</span></span>
<span><span class="co">#&gt; border-left-width: 1px;</span></span>
<span><span class="co">#&gt; border-left-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-right-style: none;</span></span>
<span><span class="co">#&gt; border-right-width: 1px;</span></span>
<span><span class="co">#&gt; border-right-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; vertical-align: middle;</span></span>
<span><span class="co">#&gt; overflow-x: hidden;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_stub {</span></span>
<span><span class="co">#&gt; color: #333333;</span></span>
<span><span class="co">#&gt; background-color: #FFFFFF;</span></span>
<span><span class="co">#&gt; font-size: 100%;</span></span>
<span><span class="co">#&gt; font-weight: initial;</span></span>
<span><span class="co">#&gt; text-transform: inherit;</span></span>
<span><span class="co">#&gt; border-right-style: solid;</span></span>
<span><span class="co">#&gt; border-right-width: 2px;</span></span>
<span><span class="co">#&gt; border-right-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; padding-left: 5px;</span></span>
<span><span class="co">#&gt; padding-right: 5px;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_stub_row_group {</span></span>
<span><span class="co">#&gt; color: #333333;</span></span>
<span><span class="co">#&gt; background-color: #FFFFFF;</span></span>
<span><span class="co">#&gt; font-size: 100%;</span></span>
<span><span class="co">#&gt; font-weight: initial;</span></span>
<span><span class="co">#&gt; text-transform: inherit;</span></span>
<span><span class="co">#&gt; border-right-style: solid;</span></span>
<span><span class="co">#&gt; border-right-width: 2px;</span></span>
<span><span class="co">#&gt; border-right-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; padding-left: 5px;</span></span>
<span><span class="co">#&gt; padding-right: 5px;</span></span>
<span><span class="co">#&gt; vertical-align: top;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_row_group_first td {</span></span>
<span><span class="co">#&gt; border-top-width: 2px;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_summary_row {</span></span>
<span><span class="co">#&gt; color: #333333;</span></span>
<span><span class="co">#&gt; background-color: #FFFFFF;</span></span>
<span><span class="co">#&gt; text-transform: inherit;</span></span>
<span><span class="co">#&gt; padding-top: 8px;</span></span>
<span><span class="co">#&gt; padding-bottom: 8px;</span></span>
<span><span class="co">#&gt; padding-left: 5px;</span></span>
<span><span class="co">#&gt; padding-right: 5px;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_first_summary_row {</span></span>
<span><span class="co">#&gt; border-top-style: solid;</span></span>
<span><span class="co">#&gt; border-top-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_first_summary_row.thick {</span></span>
<span><span class="co">#&gt; border-top-width: 2px;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_last_summary_row {</span></span>
<span><span class="co">#&gt; padding-top: 8px;</span></span>
<span><span class="co">#&gt; padding-bottom: 8px;</span></span>
<span><span class="co">#&gt; padding-left: 5px;</span></span>
<span><span class="co">#&gt; padding-right: 5px;</span></span>
<span><span class="co">#&gt; border-bottom-style: solid;</span></span>
<span><span class="co">#&gt; border-bottom-width: 2px;</span></span>
<span><span class="co">#&gt; border-bottom-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_grand_summary_row {</span></span>
<span><span class="co">#&gt; color: #333333;</span></span>
<span><span class="co">#&gt; background-color: #FFFFFF;</span></span>
<span><span class="co">#&gt; text-transform: inherit;</span></span>
<span><span class="co">#&gt; padding-top: 8px;</span></span>
<span><span class="co">#&gt; padding-bottom: 8px;</span></span>
<span><span class="co">#&gt; padding-left: 5px;</span></span>
<span><span class="co">#&gt; padding-right: 5px;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_first_grand_summary_row {</span></span>
<span><span class="co">#&gt; padding-top: 8px;</span></span>
<span><span class="co">#&gt; padding-bottom: 8px;</span></span>
<span><span class="co">#&gt; padding-left: 5px;</span></span>
<span><span class="co">#&gt; padding-right: 5px;</span></span>
<span><span class="co">#&gt; border-top-style: double;</span></span>
<span><span class="co">#&gt; border-top-width: 6px;</span></span>
<span><span class="co">#&gt; border-top-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_striped {</span></span>
<span><span class="co">#&gt; background-color: rgba(128, 128, 128, 0.05);</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_table_body {</span></span>
<span><span class="co">#&gt; border-top-style: solid;</span></span>
<span><span class="co">#&gt; border-top-width: 2px;</span></span>
<span><span class="co">#&gt; border-top-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-bottom-style: solid;</span></span>
<span><span class="co">#&gt; border-bottom-width: 2px;</span></span>
<span><span class="co">#&gt; border-bottom-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_footnotes {</span></span>
<span><span class="co">#&gt; color: #333333;</span></span>
<span><span class="co">#&gt; background-color: #FFFFFF;</span></span>
<span><span class="co">#&gt; border-bottom-style: none;</span></span>
<span><span class="co">#&gt; border-bottom-width: 2px;</span></span>
<span><span class="co">#&gt; border-bottom-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-left-style: none;</span></span>
<span><span class="co">#&gt; border-left-width: 2px;</span></span>
<span><span class="co">#&gt; border-left-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-right-style: none;</span></span>
<span><span class="co">#&gt; border-right-width: 2px;</span></span>
<span><span class="co">#&gt; border-right-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_footnote {</span></span>
<span><span class="co">#&gt; margin: 0px;</span></span>
<span><span class="co">#&gt; font-size: 90%;</span></span>
<span><span class="co">#&gt; padding-left: 4px;</span></span>
<span><span class="co">#&gt; padding-right: 4px;</span></span>
<span><span class="co">#&gt; padding-left: 5px;</span></span>
<span><span class="co">#&gt; padding-right: 5px;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_sourcenotes {</span></span>
<span><span class="co">#&gt; color: #333333;</span></span>
<span><span class="co">#&gt; background-color: #FFFFFF;</span></span>
<span><span class="co">#&gt; border-bottom-style: none;</span></span>
<span><span class="co">#&gt; border-bottom-width: 2px;</span></span>
<span><span class="co">#&gt; border-bottom-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-left-style: none;</span></span>
<span><span class="co">#&gt; border-left-width: 2px;</span></span>
<span><span class="co">#&gt; border-left-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; border-right-style: none;</span></span>
<span><span class="co">#&gt; border-right-width: 2px;</span></span>
<span><span class="co">#&gt; border-right-color: #D3D3D3;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_sourcenote {</span></span>
<span><span class="co">#&gt; font-size: 90%;</span></span>
<span><span class="co">#&gt; padding-top: 4px;</span></span>
<span><span class="co">#&gt; padding-bottom: 4px;</span></span>
<span><span class="co">#&gt; padding-left: 5px;</span></span>
<span><span class="co">#&gt; padding-right: 5px;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_left {</span></span>
<span><span class="co">#&gt; text-align: left;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_center {</span></span>
<span><span class="co">#&gt; text-align: center;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_right {</span></span>
<span><span class="co">#&gt; text-align: right;</span></span>
<span><span class="co">#&gt; font-variant-numeric: tabular-nums;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_font_normal {</span></span>
<span><span class="co">#&gt; font-weight: normal;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_font_bold {</span></span>
<span><span class="co">#&gt; font-weight: bold;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_font_italic {</span></span>
<span><span class="co">#&gt; font-style: italic;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_super {</span></span>
<span><span class="co">#&gt; font-size: 65%;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_footnote_marks {</span></span>
<span><span class="co">#&gt; font-style: italic;</span></span>
<span><span class="co">#&gt; font-weight: normal;</span></span>
<span><span class="co">#&gt; font-size: 75%;</span></span>
<span><span class="co">#&gt; vertical-align: 0.4em;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_asterisk {</span></span>
<span><span class="co">#&gt; font-size: 100%;</span></span>
<span><span class="co">#&gt; vertical-align: 0;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_indent_1 {</span></span>
<span><span class="co">#&gt; text-indent: 5px;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_indent_2 {</span></span>
<span><span class="co">#&gt; text-indent: 10px;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_indent_3 {</span></span>
<span><span class="co">#&gt; text-indent: 15px;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_indent_4 {</span></span>
<span><span class="co">#&gt; text-indent: 20px;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; #fzlccdqrrt .gt_indent_5 {</span></span>
<span><span class="co">#&gt; text-indent: 25px;</span></span>
<span><span class="co">#&gt; }</span></span>
<span><span class="co">#&gt; &lt;/style&gt;</span></span>
<span><span class="co">#&gt; &lt;table class="gt_table"&gt;</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; &lt;thead class="gt_col_headings"&gt;</span></span>
<span><span class="co">#&gt; &lt;tr&gt;</span></span>
<span><span class="co">#&gt; &lt;th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="&amp;lt;strong&amp;gt;Characteristic&amp;lt;/strong&amp;gt;"&gt;&lt;strong&gt;Characteristic&lt;/strong&gt;&lt;/th&gt;</span></span>
<span><span class="co">#&gt; &lt;th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&amp;lt;strong&amp;gt;Overall&amp;lt;/strong&amp;gt;, N = 200&amp;lt;sup class=&amp;quot;gt_footnote_marks&amp;quot;&amp;gt;1&amp;lt;/sup&amp;gt;"&gt;&lt;strong&gt;Overall&lt;/strong&gt;, N = 200&lt;sup class="gt_footnote_marks"&gt;1&lt;/sup&gt;&lt;/th&gt;</span></span>
<span><span class="co">#&gt; &lt;th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&amp;lt;strong&amp;gt;Active&amp;lt;/strong&amp;gt;, N = 79&amp;lt;sup class=&amp;quot;gt_footnote_marks&amp;quot;&amp;gt;1&amp;lt;/sup&amp;gt;"&gt;&lt;strong&gt;Active&lt;/strong&gt;, N = 79&lt;sup class="gt_footnote_marks"&gt;1&lt;/sup&gt;&lt;/th&gt;</span></span>
<span><span class="co">#&gt; &lt;th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="&amp;lt;strong&amp;gt;Placebo&amp;lt;/strong&amp;gt;, N = 121&amp;lt;sup class=&amp;quot;gt_footnote_marks&amp;quot;&amp;gt;1&amp;lt;/sup&amp;gt;"&gt;&lt;strong&gt;Placebo&lt;/strong&gt;, N = 121&lt;sup class="gt_footnote_marks"&gt;1&lt;/sup&gt;&lt;/th&gt;</span></span>
<span><span class="co">#&gt; &lt;/tr&gt;</span></span>
<span><span class="co">#&gt; &lt;/thead&gt;</span></span>
<span><span class="co">#&gt; &lt;tbody class="gt_table_body"&gt;</span></span>
<span><span class="co">#&gt; &lt;tr&gt;&lt;td headers="label" class="gt_row gt_left"&gt;hypertension&lt;/td&gt;</span></span>
<span><span class="co">#&gt; &lt;td headers="stat_0" class="gt_row gt_center"&gt;101 (50%)&lt;/td&gt;</span></span>
<span><span class="co">#&gt; &lt;td headers="stat_1" class="gt_row gt_center"&gt;38 (48%)&lt;/td&gt;</span></span>
<span><span class="co">#&gt; &lt;td headers="stat_2" class="gt_row gt_center"&gt;63 (52%)&lt;/td&gt;&lt;/tr&gt;</span></span>
<span><span class="co">#&gt; &lt;tr&gt;&lt;td headers="label" class="gt_row gt_left"&gt;diabetes&lt;/td&gt;</span></span>
<span><span class="co">#&gt; &lt;td headers="stat_0" class="gt_row gt_center"&gt;23 (12%)&lt;/td&gt;</span></span>
<span><span class="co">#&gt; &lt;td headers="stat_1" class="gt_row gt_center"&gt;9 (11%)&lt;/td&gt;</span></span>
<span><span class="co">#&gt; &lt;td headers="stat_2" class="gt_row gt_center"&gt;14 (12%)&lt;/td&gt;&lt;/tr&gt;</span></span>
<span><span class="co">#&gt; &lt;tr&gt;&lt;td headers="label" class="gt_row gt_left"&gt;civil&lt;/td&gt;</span></span>
<span><span class="co">#&gt; &lt;td headers="stat_0" class="gt_row gt_center"&gt;&lt;/td&gt;</span></span>
<span><span class="co">#&gt; &lt;td headers="stat_1" class="gt_row gt_center"&gt;&lt;/td&gt;</span></span>
<span><span class="co">#&gt; &lt;td headers="stat_2" class="gt_row gt_center"&gt;&lt;/td&gt;&lt;/tr&gt;</span></span>
<span><span class="co">#&gt; &lt;tr&gt;&lt;td headers="label" class="gt_row gt_left"&gt;    alone&lt;/td&gt;</span></span>
<span><span class="co">#&gt; &lt;td headers="stat_0" class="gt_row gt_center"&gt;59 (30%)&lt;/td&gt;</span></span>
<span><span class="co">#&gt; &lt;td headers="stat_1" class="gt_row gt_center"&gt;22 (28%)&lt;/td&gt;</span></span>
<span><span class="co">#&gt; &lt;td headers="stat_2" class="gt_row gt_center"&gt;37 (31%)&lt;/td&gt;&lt;/tr&gt;</span></span>
<span><span class="co">#&gt; &lt;tr&gt;&lt;td headers="label" class="gt_row gt_left"&gt;    partner&lt;/td&gt;</span></span>
<span><span class="co">#&gt; &lt;td headers="stat_0" class="gt_row gt_center"&gt;141 (70%)&lt;/td&gt;</span></span>
<span><span class="co">#&gt; &lt;td headers="stat_1" class="gt_row gt_center"&gt;57 (72%)&lt;/td&gt;</span></span>
<span><span class="co">#&gt; &lt;td headers="stat_2" class="gt_row gt_center"&gt;84 (69%)&lt;/td&gt;&lt;/tr&gt;</span></span>
<span><span class="co">#&gt; &lt;/tbody&gt;</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; &lt;tfoot class="gt_footnotes"&gt;</span></span>
<span><span class="co">#&gt; &lt;tr&gt;</span></span>
<span><span class="co">#&gt; &lt;td class="gt_footnote" colspan="4"&gt;&lt;sup class="gt_footnote_marks"&gt;1&lt;/sup&gt; n (%)&lt;/td&gt;</span></span>
<span><span class="co">#&gt; &lt;/tr&gt;</span></span>
<span><span class="co">#&gt; &lt;/tfoot&gt;</span></span>
<span><span class="co">#&gt; &lt;/table&gt;</span></span>
<span><span class="co">#&gt; &lt;/div&gt;</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $`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">#&gt; </span></span>
<span><span class="co">#&gt; $`Figure 2`</span></span></code></pre>
<p><img src="toolbox_files/figure-html/generic_stroke-example-2.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="cb9"><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="win_prob">win_prob()<a class="anchor" aria-label="anchor" href="#win_prob"></a>
</h4>
<p>The <code><a href="../reference/win_prob.html">win_prob()</a></code> is an implementation of the Tournament
Method for calculating the probability of winning as suggested by <a href="https://doi.org/10.1161/STROKEAHA.121.037744" class="external-link">Zou et al 2022</a>.
The authors has included a spreadsheet as supplementary materials. This
function aims to mimic that functionality. The function also includes a
<code><a href="https://rdrr.io/r/base/print.html" class="external-link">print()</a></code> extension for nice printing.</p>
<div class="sourceCode" id="cb10"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span><span class="fu"><a href="../reference/win_prob.html">win_prob</a></span><span class="op">(</span></span>
<span> data <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> response <span class="op">=</span> <span class="st">"mrs_6"</span>,</span>
<span> group <span class="op">=</span> <span class="st">"rtreat"</span>,</span>
<span> sample.size <span class="op">=</span> <span class="cn">TRUE</span>,</span>
<span> print.tables <span class="op">=</span> <span class="cn">TRUE</span></span>
<span><span class="op">)</span></span>
<span><span class="co">#&gt; $list_cum</span></span>
<span><span class="co">#&gt; $list_cum$Active</span></span>
<span><span class="co">#&gt; mrs_6 rtreat Freq prop overall_rank rank win_frac</span></span>
<span><span class="co">#&gt; 1 0 Active 14 0.17721519 175.0 72.5 0.847107438</span></span>
<span><span class="co">#&gt; 2 1 Active 29 0.36708861 113.5 51.0 0.516528926</span></span>
<span><span class="co">#&gt; 3 2 Active 22 0.27848101 49.0 25.5 0.194214876</span></span>
<span><span class="co">#&gt; 4 3 Active 9 0.11392405 15.0 10.0 0.041322314</span></span>
<span><span class="co">#&gt; 5 4 Active 3 0.03797468 7.0 4.0 0.024793388</span></span>
<span><span class="co">#&gt; 6 6 Active 2 0.02531646 2.5 1.5 0.008264463</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $list_cum$Placebo</span></span>
<span><span class="co">#&gt; mrs_6 rtreat Freq prop overall_rank rank win_frac</span></span>
<span><span class="co">#&gt; 7 0 Placebo 37 0.30578512 175.0 103.0 0.91139241</span></span>
<span><span class="co">#&gt; 8 1 Placebo 43 0.35537190 113.5 63.0 0.63924051</span></span>
<span><span class="co">#&gt; 9 2 Placebo 35 0.28925620 49.0 24.0 0.31645570</span></span>
<span><span class="co">#&gt; 10 3 Placebo 2 0.01652893 15.0 5.5 0.12025316</span></span>
<span><span class="co">#&gt; 11 4 Placebo 2 0.01652893 7.0 3.5 0.04430380</span></span>
<span><span class="co">#&gt; 12 6 Placebo 2 0.01652893 2.5 1.5 0.01265823</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $group_levels</span></span>
<span><span class="co">#&gt; [1] "Active" "Placebo"</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $sum_a</span></span>
<span><span class="co">#&gt; [1] 79</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $sum_b</span></span>
<span><span class="co">#&gt; [1] 121</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $winP_a</span></span>
<span><span class="co">#&gt; [1] 0.3996757</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $winP_b</span></span>
<span><span class="co">#&gt; [1] 0.6003243</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $var_win_frac_a</span></span>
<span><span class="co">#&gt; [1] 0.07609113</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $var_win_frac_b</span></span>
<span><span class="co">#&gt; [1] 0.06806341</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $var_win_prob</span></span>
<span><span class="co">#&gt; [1] 0.001525686</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $se_win_prob</span></span>
<span><span class="co">#&gt; [1] 0.03906004</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $conf.int</span></span>
<span><span class="co">#&gt; [1] 0.6124886 0.3724300</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $test_stat</span></span>
<span><span class="co">#&gt; [1] 2.498962</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $p_val</span></span>
<span><span class="co">#&gt; [1] 0.01245577</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $nnt</span></span>
<span><span class="co">#&gt; [1] -9.967675</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $ss_n</span></span>
<span><span class="co">#&gt; [1] 238</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $param.record</span></span>
<span><span class="co">#&gt; $param.record$data</span></span>
<span><span class="co">#&gt; rtreat mrs_1 mrs_6 hypertension diabetes civil</span></span>
<span><span class="co">#&gt; 38 Active 1 1 no no partner</span></span>
<span><span class="co">#&gt; 434 Active 1 1 yes no partner</span></span>
<span><span class="co">#&gt; 588 Active 2 2 yes no partner</span></span>
<span><span class="co">#&gt; 42 Active 0 0 yes no partner</span></span>
<span><span class="co">#&gt; 160 Placebo 1 1 yes no partner</span></span>
<span><span class="co">#&gt; 174 Active 0 1 yes no alone</span></span>
<span><span class="co">#&gt; 11 Placebo 2 1 yes yes alone</span></span>
<span><span class="co">#&gt; 601 Placebo 1 1 no no partner</span></span>
<span><span class="co">#&gt; 412 Active 0 0 yes no partner</span></span>
<span><span class="co">#&gt; 88 Placebo 1 1 yes yes partner</span></span>
<span><span class="co">#&gt; 56 Placebo 0 0 no no alone</span></span>
<span><span class="co">#&gt; 235 Placebo 2 1 yes yes alone</span></span>
<span><span class="co">#&gt; 205 Active 3 3 no no partner</span></span>
<span><span class="co">#&gt; 62 Active 2 2 yes no alone</span></span>
<span><span class="co">#&gt; 593 Placebo 2 2 no no alone</span></span>
<span><span class="co">#&gt; 143 Active 2 1 yes no partner</span></span>
<span><span class="co">#&gt; 520 Active 2 2 no yes partner</span></span>
<span><span class="co">#&gt; 144 Placebo 1 0 yes no partner</span></span>
<span><span class="co">#&gt; 383 Active 2 3 no no alone</span></span>
<span><span class="co">#&gt; 347 Placebo 1 0 yes yes partner</span></span>
<span><span class="co">#&gt; 346 Active 1 2 yes no partner</span></span>
<span><span class="co">#&gt; 318 Placebo 2 2 no no partner</span></span>
<span><span class="co">#&gt; 231 Placebo 2 2 no no partner</span></span>
<span><span class="co">#&gt; 190 Active 1 1 yes no partner</span></span>
<span><span class="co">#&gt; 287 Placebo 2 2 yes no partner</span></span>
<span><span class="co">#&gt; 633 Placebo 1 1 no no partner</span></span>
<span><span class="co">#&gt; 228 Placebo 4 3 yes no partner</span></span>
<span><span class="co">#&gt; 409 Active 1 2 yes no partner</span></span>
<span><span class="co">#&gt; 603 Placebo 2 1 no no alone</span></span>
<span><span class="co">#&gt; 628 Placebo 1 2 no no partner</span></span>
<span><span class="co">#&gt; 91 Active 1 0 yes no partner</span></span>
<span><span class="co">#&gt; 537 Placebo 4 4 no no partner</span></span>
<span><span class="co">#&gt; 75 Placebo 1 2 yes no partner</span></span>
<span><span class="co">#&gt; 282 Placebo 1 0 no no partner</span></span>
<span><span class="co">#&gt; 249 Active 1 1 no no alone</span></span>
<span><span class="co">#&gt; 72 Active 2 3 yes no partner</span></span>
<span><span class="co">#&gt; 222 Active 2 2 yes no partner</span></span>
<span><span class="co">#&gt; 258 Placebo 0 1 no no partner</span></span>
<span><span class="co">#&gt; 134 Active 4 4 no no partner</span></span>
<span><span class="co">#&gt; 117 Active 1 1 no yes partner</span></span>
<span><span class="co">#&gt; 377 Active 2 1 no no partner</span></span>
<span><span class="co">#&gt; 583 Placebo 3 2 yes no partner</span></span>
<span><span class="co">#&gt; 552 Active 3 1 yes no alone</span></span>
<span><span class="co">#&gt; 124 Placebo 2 2 yes yes partner</span></span>
<span><span class="co">#&gt; 189 Placebo 1 0 no yes partner</span></span>
<span><span class="co">#&gt; 521 Placebo 1 2 yes yes alone</span></span>
<span><span class="co">#&gt; 429 Active 2 1 no no partner</span></span>
<span><span class="co">#&gt; 203 Placebo 1 1 yes no partner</span></span>
<span><span class="co">#&gt; 172 Active 1 2 no no partner</span></span>
<span><span class="co">#&gt; 402 Placebo 2 2 yes no partner</span></span>
<span><span class="co">#&gt; 574 Placebo 1 1 yes no partner</span></span>
<span><span class="co">#&gt; 271 Active 4 3 no no partner</span></span>
<span><span class="co">#&gt; 50 Placebo 3 2 no no alone</span></span>
<span><span class="co">#&gt; 264 Active 4 2 no no alone</span></span>
<span><span class="co">#&gt; 571 Active 2 0 yes no partner</span></span>
<span><span class="co">#&gt; 239 Active 3 3 yes no alone</span></span>
<span><span class="co">#&gt; 262 Placebo 2 1 yes no partner</span></span>
<span><span class="co">#&gt; 236 Placebo 1 1 no no partner</span></span>
<span><span class="co">#&gt; 94 Placebo 1 1 no no partner</span></span>
<span><span class="co">#&gt; 275 Placebo 0 0 no no partner</span></span>
<span><span class="co">#&gt; 26 Placebo 2 4 no no alone</span></span>
<span><span class="co">#&gt; 476 Placebo 1 1 no no alone</span></span>
<span><span class="co">#&gt; 427 Active 2 3 yes no alone</span></span>
<span><span class="co">#&gt; 359 Placebo 1 2 yes no alone</span></span>
<span><span class="co">#&gt; 341 Active 4 3 yes no alone</span></span>
<span><span class="co">#&gt; 457 Active 1 1 yes yes partner</span></span>
<span><span class="co">#&gt; 485 Placebo 0 0 no no partner</span></span>
<span><span class="co">#&gt; 171 Placebo 2 2 no no partner</span></span>
<span><span class="co">#&gt; 97 Placebo 2 1 yes no partner</span></span>
<span><span class="co">#&gt; 635 Placebo 1 2 no no alone</span></span>
<span><span class="co">#&gt; 472 Placebo 1 0 yes no partner</span></span>
<span><span class="co">#&gt; 408 Active 1 1 yes yes partner</span></span>
<span><span class="co">#&gt; 158 Placebo 0 0 no no partner</span></span>
<span><span class="co">#&gt; 63 Placebo 1 0 no yes alone</span></span>
<span><span class="co">#&gt; 557 Active 2 2 no no partner</span></span>
<span><span class="co">#&gt; 73 Active 1 1 yes no partner</span></span>
<span><span class="co">#&gt; 425 Placebo 2 0 yes no partner</span></span>
<span><span class="co">#&gt; 423 Placebo 2 2 yes yes partner</span></span>
<span><span class="co">#&gt; 272 Active 2 1 yes no alone</span></span>
<span><span class="co">#&gt; 122 Active 1 0 no no partner</span></span>
<span><span class="co">#&gt; 370 Active 0 1 no no partner</span></span>
<span><span class="co">#&gt; 274 Placebo 0 0 no no partner</span></span>
<span><span class="co">#&gt; 407 Active 0 0 no no partner</span></span>
<span><span class="co">#&gt; 482 Placebo 1 1 no no partner</span></span>
<span><span class="co">#&gt; 586 Active 6 6 yes yes partner</span></span>
<span><span class="co">#&gt; 20 Placebo 1 2 no no alone</span></span>
<span><span class="co">#&gt; 568 Active 1 0 no no partner</span></span>
<span><span class="co">#&gt; 331 Placebo 1 1 no no alone</span></span>
<span><span class="co">#&gt; 133 Placebo 1 1 no no partner</span></span>
<span><span class="co">#&gt; 563 Active 4 4 yes no partner</span></span>
<span><span class="co">#&gt; 349 Placebo 1 2 yes yes alone</span></span>
<span><span class="co">#&gt; 381 Placebo 1 1 yes no partner</span></span>
<span><span class="co">#&gt; 549 Placebo 1 1 no no alone</span></span>
<span><span class="co">#&gt; 34 Active 1 1 no no alone</span></span>
<span><span class="co">#&gt; 33 Placebo 0 0 yes no alone</span></span>
<span><span class="co">#&gt; 531 Placebo 2 2 yes no alone</span></span>
<span><span class="co">#&gt; 389 Active 1 0 no no alone</span></span>
<span><span class="co">#&gt; 64 Active 1 1 yes yes alone</span></span>
<span><span class="co">#&gt; 428 Active 2 1 yes no partner</span></span>
<span><span class="co">#&gt; 403 Placebo 2 2 yes no alone</span></span>
<span><span class="co">#&gt; 343 Placebo 1 0 no no partner</span></span>
<span><span class="co">#&gt; 294 Active 2 2 no no alone</span></span>
<span><span class="co">#&gt; 76 Placebo 3 1 no no alone</span></span>
<span><span class="co">#&gt; 166 Placebo 1 0 yes no partner</span></span>
<span><span class="co">#&gt; 209 Placebo 0 1 yes no partner</span></span>
<span><span class="co">#&gt; 626 Active 2 2 yes no alone</span></span>
<span><span class="co">#&gt; 481 Active 5 3 no no partner</span></span>
<span><span class="co">#&gt; 376 Active 2 2 yes yes partner</span></span>
<span><span class="co">#&gt; 67 Active 3 2 no no partner</span></span>
<span><span class="co">#&gt; 130 Placebo 2 1 no no partner</span></span>
<span><span class="co">#&gt; 250 Active 2 1 yes no partner</span></span>
<span><span class="co">#&gt; 609 Active 2 2 no no partner</span></span>
<span><span class="co">#&gt; 545 Placebo 3 2 yes no partner</span></span>
<span><span class="co">#&gt; 226 Placebo 2 1 no no partner</span></span>
<span><span class="co">#&gt; 276 Placebo 1 2 no no partner</span></span>
<span><span class="co">#&gt; 305 Placebo 0 0 yes no partner</span></span>
<span><span class="co">#&gt; 202 Placebo 1 0 yes no alone</span></span>
<span><span class="co">#&gt; 245 Placebo 1 1 no no partner</span></span>
<span><span class="co">#&gt; 131 Active 3 1 no no partner</span></span>
<span><span class="co">#&gt; 505 Active 2 1 no no partner</span></span>
<span><span class="co">#&gt; 546 Placebo 2 2 yes no alone</span></span>
<span><span class="co">#&gt; 639 Placebo 1 1 yes yes partner</span></span>
<span><span class="co">#&gt; 219 Active 2 1 yes no partner</span></span>
<span><span class="co">#&gt; 244 Placebo 2 2 yes no alone</span></span>
<span><span class="co">#&gt; 348 Placebo 0 0 no no partner</span></span>
<span><span class="co">#&gt; 280 Placebo 0 0 yes no partner</span></span>
<span><span class="co">#&gt; 504 Placebo 2 2 yes no partner</span></span>
<span><span class="co">#&gt; 51 Placebo 1 1 no no alone</span></span>
<span><span class="co">#&gt; 493 Active 6 6 no no alone</span></span>
<span><span class="co">#&gt; 167 Placebo 0 1 yes no partner</span></span>
<span><span class="co">#&gt; 58 Placebo 1 0 no no partner</span></span>
<span><span class="co">#&gt; 169 Active 0 0 no no partner</span></span>
<span><span class="co">#&gt; 293 Active 1 0 no no partner</span></span>
<span><span class="co">#&gt; 334 Placebo 6 6 no no partner</span></span>
<span><span class="co">#&gt; 28 Active 2 2 yes no partner</span></span>
<span><span class="co">#&gt; 1 Placebo 0 0 yes no partner</span></span>
<span><span class="co">#&gt; 463 Active 2 1 yes no alone</span></span>
<span><span class="co">#&gt; 445 Placebo 1 2 yes no alone</span></span>
<span><span class="co">#&gt; 320 Placebo 1 2 yes yes alone</span></span>
<span><span class="co">#&gt; 500 Placebo 0 0 no no alone</span></span>
<span><span class="co">#&gt; 175 Placebo 1 2 yes no partner</span></span>
<span><span class="co">#&gt; 201 Placebo 0 0 yes no partner</span></span>
<span><span class="co">#&gt; 142 Active 2 0 no no partner</span></span>
<span><span class="co">#&gt; 278 Active 0 1 yes no alone</span></span>
<span><span class="co">#&gt; 181 Placebo 0 0 no no partner</span></span>
<span><span class="co">#&gt; 193 Placebo 2 1 yes no alone</span></span>
<span><span class="co">#&gt; 321 Active 2 0 no no partner</span></span>
<span><span class="co">#&gt; 598 Active 0 1 no no partner</span></span>
<span><span class="co">#&gt; 217 Placebo 0 0 yes no partner</span></span>
<span><span class="co">#&gt; 13 Active 1 1 yes no partner</span></span>
<span><span class="co">#&gt; 242 Placebo 2 0 yes no partner</span></span>
<span><span class="co">#&gt; 513 Placebo 1 1 no no partner</span></span>
<span><span class="co">#&gt; 518 Placebo 2 2 yes no partner</span></span>
<span><span class="co">#&gt; 304 Placebo 2 2 no no partner</span></span>
<span><span class="co">#&gt; 587 Placebo 1 2 no no alone</span></span>
<span><span class="co">#&gt; 497 Placebo 0 1 yes no partner</span></span>
<span><span class="co">#&gt; 296 Placebo 0 0 yes no partner</span></span>
<span><span class="co">#&gt; 526 Active 1 1 no no partner</span></span>
<span><span class="co">#&gt; 2 Placebo 2 1 no no partner</span></span>
<span><span class="co">#&gt; 627 Active 2 2 no yes partner</span></span>
<span><span class="co">#&gt; 126 Placebo 2 1 yes no partner</span></span>
<span><span class="co">#&gt; 420 Placebo 2 0 yes no partner</span></span>
<span><span class="co">#&gt; 392 Active 2 2 yes no partner</span></span>
<span><span class="co">#&gt; 522 Placebo 3 2 yes no alone</span></span>
<span><span class="co">#&gt; 312 Active 4 4 no yes partner</span></span>
<span><span class="co">#&gt; 9 Placebo 1 1 no no partner</span></span>
<span><span class="co">#&gt; 29 Placebo 2 2 no no alone</span></span>
<span><span class="co">#&gt; 7 Placebo 1 1 yes no partner</span></span>
<span><span class="co">#&gt; 49 Placebo 2 1 no yes partner</span></span>
<span><span class="co">#&gt; 439 Placebo 3 2 no no alone</span></span>
<span><span class="co">#&gt; 46 Active 0 0 yes no alone</span></span>
<span><span class="co">#&gt; 80 Active 1 1 no no partner</span></span>
<span><span class="co">#&gt; 237 Placebo 0 0 yes no partner</span></span>
<span><span class="co">#&gt; 306 Placebo 2 0 no no alone</span></span>
<span><span class="co">#&gt; 345 Placebo 0 0 yes no partner</span></span>
<span><span class="co">#&gt; 153 Active 2 2 no no partner</span></span>
<span><span class="co">#&gt; 98 Placebo 1 0 yes no partner</span></span>
<span><span class="co">#&gt; 44 Placebo 2 1 yes no partner</span></span>
<span><span class="co">#&gt; 458 Active 3 2 no no partner</span></span>
<span><span class="co">#&gt; 585 Placebo 1 1 yes no partner</span></span>
<span><span class="co">#&gt; 211 Placebo 3 2 no yes partner</span></span>
<span><span class="co">#&gt; 610 Active 1 1 no no alone</span></span>
<span><span class="co">#&gt; 310 Placebo 0 0 no no alone</span></span>
<span><span class="co">#&gt; 541 Active 4 2 yes no partner</span></span>
<span><span class="co">#&gt; 161 Placebo 1 1 no no partner</span></span>
<span><span class="co">#&gt; 641 Placebo 1 1 no no partner</span></span>
<span><span class="co">#&gt; 538 Placebo 1 1 no no partner</span></span>
<span><span class="co">#&gt; 281 Placebo 1 0 no no partner</span></span>
<span><span class="co">#&gt; 301 Active 3 2 yes no partner</span></span>
<span><span class="co">#&gt; 356 Active 3 2 no no alone</span></span>
<span><span class="co">#&gt; 59 Active 3 3 no no alone</span></span>
<span><span class="co">#&gt; 302 Placebo 1 0 yes no partner</span></span>
<span><span class="co">#&gt; 116 Active 1 0 no no partner</span></span>
<span><span class="co">#&gt; 547 Placebo 2 2 no no partner</span></span>
<span><span class="co">#&gt; 22 Placebo 2 1 no no partner</span></span>
<span><span class="co">#&gt; 517 Placebo 4 3 yes no partner</span></span>
<span><span class="co">#&gt; 344 Placebo 1 1 yes no partner</span></span>
<span><span class="co">#&gt; 48 Placebo 2 0 yes no alone</span></span>
<span><span class="co">#&gt; 100 Placebo 1 0 yes no alone</span></span>
<span><span class="co">#&gt; 93 Placebo 6 6 yes no alone</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $param.record$response</span></span>
<span><span class="co">#&gt; [1] "mrs_6"</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $param.record$group</span></span>
<span><span class="co">#&gt; [1] "rtreat"</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $param.record$alpha</span></span>
<span><span class="co">#&gt; [1] 0.05</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $param.record$beta</span></span>
<span><span class="co">#&gt; [1] 0.2</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $param.record$group.ratio</span></span>
<span><span class="co">#&gt; [1] 1</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $param.record$sample.size</span></span>
<span><span class="co">#&gt; [1] TRUE</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $param.record$print.tables</span></span>
<span><span class="co">#&gt; [1] TRUE</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; $param.record$dec</span></span>
<span><span class="co">#&gt; [1] 3</span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; </span></span>
<span><span class="co">#&gt; attr(,"class")</span></span>
<span><span class="co">#&gt; [1] "win_Prop" "list"</span></span></code></pre></div>
</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>