mirror of
https://github.com/agdamsbo/stRoke.git
synced 2024-11-21 20:40:22 +01:00
new function, label_select() as a helper for gtsummary(). also new version
This commit is contained in:
parent
305382c575
commit
2f69639077
@ -1,6 +1,6 @@
|
||||
Package: stRoke
|
||||
Title: Tools for work in clinical stroke research
|
||||
Version: 0.22.11.3
|
||||
Version: 0.22.12.1
|
||||
Authors@R:
|
||||
person("Andreas Gammelgaard", "Damsbo", , "agdamsbo@clin.au.dk", role = c("aut", "cre"),
|
||||
comment = c(ORCID = "0000-0002-7559-1154"))
|
||||
|
@ -7,6 +7,7 @@ export(cpr_dob)
|
||||
export(cpr_female)
|
||||
export(generic_stroke)
|
||||
export(index_plot)
|
||||
export(label_select)
|
||||
export(plot_olr)
|
||||
export(quantile_cut)
|
||||
export(source_lines)
|
||||
|
@ -121,7 +121,7 @@ cpr_dob<-function(cpr){
|
||||
#' @return Logical vector
|
||||
#' @export
|
||||
#' @examples
|
||||
#' cpr_female(stroke::cprs[,1])
|
||||
#' cpr_female(stRoke::cprs[,1])
|
||||
cpr_female<-function(cpr){
|
||||
if (!is.vector(cpr)) stop("Input has to be vector")
|
||||
|
||||
|
@ -22,7 +22,7 @@ utils::globalVariables(c("df","group","score","strata"))
|
||||
#' @importFrom rankinPlot grottaBar
|
||||
#'
|
||||
#' @examples
|
||||
#' generic_stroke(stroke::talos, "rtreat", "mrs_6", variables = c("hypertension","diabetes","civil"))
|
||||
#' generic_stroke(stRoke::talos, "rtreat", "mrs_6", variables = c("hypertension","diabetes","civil"))
|
||||
generic_stroke <- function(df, group, score, strata = NULL, variables = NULL)
|
||||
{
|
||||
t1<-gtsummary::tbl_summary(data = df[,c(group,variables)],
|
||||
|
@ -22,7 +22,7 @@ utils::globalVariables(c("name","value","facet"))
|
||||
#' @export
|
||||
#'
|
||||
#' @examples
|
||||
#' index_plot(stroke::score[score$event=="A",])
|
||||
#' index_plot(stRoke::score[score$event=="A",])
|
||||
index_plot <- function(ds,id="id",sub_plot="_is",scores=c("_is","_lo","_up","_per"),dom_names=c("immediate","visuospatial","verbal","attention","delayed","total"),facet.by=NULL){
|
||||
|
||||
if (length(facet.by)>1){stop("facet.by can be NULL or of length 1 only.")}
|
||||
|
30
R/label_select.R
Normal file
30
R/label_select.R
Normal file
@ -0,0 +1,30 @@
|
||||
#' Helper function for labels in gtsummary
|
||||
#'
|
||||
#' Function to select labels from list of label pairs (format: `age~"Age"`).
|
||||
#' Alternative is to use attributes, eg from `library(Hmisc)`.
|
||||
#'
|
||||
#' @param lst List of variables and labels (format: `age~"Age"`)
|
||||
#' @param vec Vector of variables to be subset from the list
|
||||
#'
|
||||
#' @return List of labels ordered like vec, formatted like lst
|
||||
#' @export
|
||||
#'
|
||||
#' @importFrom gtsummary tbl_summary
|
||||
#'
|
||||
#' @examples
|
||||
#' vars<-c("hypertension", "diabetes", "mrs_1")
|
||||
#' labels_all<-list(rtreat~"Trial treatment",
|
||||
#' civil~"Cohabitation",
|
||||
#' diabetes~"Known diabetes",
|
||||
#' hypertension~"Known hypertension",
|
||||
#' mrs_1~"One month mRS",
|
||||
#' mrs_6~"Six months mRS",
|
||||
#' '[Intercept]'~"Intercept")
|
||||
#' stRoke::talos[vars] |> gtsummary::tbl_summary(label = label_select(labels_all,vars))
|
||||
label_select<-function(lst,vec){
|
||||
lst[match(vec,unlist(lapply(lst,function(i){i[[2]]})))]
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
@ -49,13 +49,13 @@
|
||||
|
||||
<p>Damsbo A (2022).
|
||||
<em>stRoke: Tools for work in clinical stroke research</em>.
|
||||
R package version 0.22.11.3.
|
||||
R package version 0.22.12.1.
|
||||
</p>
|
||||
<pre>@Manual{,
|
||||
title = {stRoke: Tools for work in clinical stroke research},
|
||||
author = {Andreas Gammelgaard Damsbo},
|
||||
year = {2022},
|
||||
note = {R package version 0.22.11.3},
|
||||
note = {R package version 0.22.12.1},
|
||||
}</pre>
|
||||
</div>
|
||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
||||
|
@ -30,7 +30,7 @@
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
|
@ -2,5 +2,5 @@ pandoc: 2.19.2
|
||||
pkgdown: 2.0.6
|
||||
pkgdown_sha: ~
|
||||
articles: {}
|
||||
last_built: 2022-11-28T12:12Z
|
||||
last_built: 2022-12-06T13:40Z
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
|
@ -12,7 +12,7 @@ Title and axis labels can be added to the ggplot afterwards.'><!-- mathjax --><s
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
@ -60,8 +60,24 @@
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">cpr_female</span><span class="op">(</span><span class="fu">stroke</span><span class="fu">::</span><span class="va">cprs</span><span class="op">[</span>,<span class="fl">1</span><span class="op">]</span><span class="op">)</span></span></span>
|
||||
<span class="r-err co"><span class="r-pr">#></span> <span class="error">Error in loadNamespace(x):</span> there is no package called ‘stroke’</span>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">cpr_female</span><span class="op">(</span><span class="fu">stRoke</span><span class="fu">::</span><span class="va"><a href="cprs.html">cprs</a></span><span class="op">[</span>,<span class="fl">1</span><span class="op">]</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1] FALSE FALSE FALSE TRUE TRUE FALSE FALSE FALSE FALSE TRUE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [13] TRUE TRUE FALSE FALSE TRUE FALSE TRUE FALSE TRUE FALSE FALSE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [25] TRUE TRUE FALSE TRUE TRUE TRUE FALSE TRUE FALSE FALSE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [37] TRUE TRUE FALSE FALSE FALSE FALSE TRUE TRUE FALSE FALSE TRUE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [49] FALSE TRUE FALSE FALSE TRUE FALSE FALSE TRUE TRUE TRUE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [61] FALSE FALSE FALSE FALSE TRUE TRUE TRUE FALSE TRUE TRUE TRUE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [73] TRUE FALSE TRUE FALSE FALSE TRUE FALSE FALSE FALSE TRUE TRUE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [85] TRUE TRUE TRUE FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [97] TRUE FALSE TRUE FALSE TRUE FALSE TRUE FALSE TRUE TRUE FALSE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [109] TRUE TRUE TRUE TRUE TRUE FALSE FALSE TRUE FALSE TRUE TRUE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [121] TRUE TRUE FALSE TRUE FALSE TRUE TRUE TRUE FALSE FALSE TRUE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [133] FALSE FALSE FALSE FALSE FALSE TRUE TRUE TRUE FALSE TRUE FALSE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [145] TRUE TRUE TRUE TRUE TRUE FALSE FALSE FALSE TRUE FALSE TRUE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [157] TRUE FALSE FALSE FALSE FALSE TRUE FALSE TRUE FALSE TRUE TRUE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [169] TRUE TRUE FALSE FALSE FALSE TRUE FALSE FALSE TRUE TRUE TRUE TRUE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [181] FALSE FALSE TRUE TRUE TRUE TRUE FALSE TRUE FALSE FALSE TRUE FALSE</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [193] TRUE TRUE TRUE TRUE FALSE FALSE FALSE TRUE</span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
|
@ -14,7 +14,7 @@ To dos: modify grottaBar and include as own function."><!-- mathjax --><script s
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
@ -82,8 +82,461 @@ To dos: modify grottaBar and include as own function.</p>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">generic_stroke</span><span class="op">(</span><span class="fu">stroke</span><span class="fu">::</span><span class="va">talos</span>, <span class="st">"rtreat"</span>, <span class="st">"mrs_6"</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="r-err co"><span class="r-pr">#></span> <span class="error">Error in loadNamespace(x):</span> there is no package called ‘stroke’</span>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">generic_stroke</span><span class="op">(</span><span class="fu">stRoke</span><span class="fu">::</span><span class="va"><a href="talos.html">talos</a></span>, <span class="st">"rtreat"</span>, <span class="st">"mrs_6"</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="r-msg co"><span class="r-pr">#></span> Waiting for profiling to be done...</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> $`Table 1`</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <div id="terazzewbf" style="overflow-x:auto;overflow-y:auto;width:auto;height:auto;"></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <style>html {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', 'Fira Sans', 'Droid Sans', Arial, sans-serif;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_table {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> display: table;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-collapse: collapse;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> margin-left: auto;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> margin-right: auto;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 16px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: normal;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-style: normal;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> width: auto;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #A8A8A8;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #A8A8A8;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_heading {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-align: center;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_title {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 125%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: initial;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 4px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 4px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_subtitle {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 85%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: initial;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 6px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_bottom_border {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_col_headings {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_col_heading {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 100%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: normal;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-transform: inherit;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> vertical-align: bottom;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 6px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> overflow-x: hidden;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_column_spanner_outer {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 100%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: normal;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-transform: inherit;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 4px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 4px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_column_spanner_outer:first-child {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_column_spanner_outer:last-child {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_column_spanner {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> vertical-align: bottom;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> overflow-x: hidden;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> display: inline-block;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> width: 100%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_group_heading {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 100%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: initial;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-transform: inherit;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> vertical-align: middle;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_empty_group_heading {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding: 0.5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 100%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: initial;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> vertical-align: middle;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_from_md > :first-child {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> margin-top: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_from_md > :last-child {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> margin-bottom: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_row {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> margin: 10px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> vertical-align: middle;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> overflow-x: hidden;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_stub {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 100%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: initial;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-transform: inherit;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_stub_row_group {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 100%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: initial;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-transform: inherit;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> vertical-align: top;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_row_group_first td {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_summary_row {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-transform: inherit;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_first_summary_row {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_first_summary_row.thick {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_last_summary_row {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_grand_summary_row {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-transform: inherit;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_first_grand_summary_row {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-style: double;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 6px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_striped {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: rgba(128, 128, 128, 0.05);</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_table_body {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_footnotes {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_footnote {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> margin: 0px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 90%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 4px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 4px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_sourcenotes {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_sourcenote {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 90%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 4px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 4px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_left {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-align: left;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_center {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-align: center;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_right {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-align: right;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-variant-numeric: tabular-nums;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_font_normal {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: normal;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_font_bold {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: bold;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_font_italic {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-style: italic;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_super {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 65%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_footnote_marks {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-style: italic;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: normal;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 75%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> vertical-align: 0.4em;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_asterisk {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 100%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> vertical-align: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_indent_1 {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-indent: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_indent_2 {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-indent: 10px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_indent_3 {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-indent: 15px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_indent_4 {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-indent: 20px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #terazzewbf .gt_indent_5 {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-indent: 25px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </style></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <table class="gt_table"></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <thead class="gt_col_headings"></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col"><strong>Characteristic</strong></th></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col"><strong>Overall</strong>, N = 200<sup class="gt_footnote_marks">1</sup></th></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col"><strong>Active</strong>, N = 79<sup class="gt_footnote_marks">1</sup></th></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col"><strong>Placebo</strong>, N = 121<sup class="gt_footnote_marks">1</sup></th></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </thead></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tbody class="gt_table_body"></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr><td class="gt_row gt_left">hypertension</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">101 (50%)</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">38 (48%)</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">63 (52%)</td></tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr><td class="gt_row gt_left">diabetes</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">23 (12%)</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">9 (11%)</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">14 (12%)</td></tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr><td class="gt_row gt_left">civil</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center"></td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center"></td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center"></td></tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr><td class="gt_row gt_left" style="text-align: left; text-indent: 10px;">alone</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">59 (30%)</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">22 (28%)</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">37 (31%)</td></tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr><td class="gt_row gt_left" style="text-align: left; text-indent: 10px;">partner</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">141 (70%)</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">57 (72%)</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">84 (69%)</td></tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </tbody></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tfoot class="gt_footnotes"></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_footnote" colspan="4"><sup class="gt_footnote_marks">1</sup> n (%)</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </tfoot></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </table></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </div></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> $`Figure 1`</span>
|
||||
<span class="r-plt img"><img src="generic_stroke-1.png" alt="" width="700" height="433"></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> $`Figure 2`</span>
|
||||
<span class="r-plt img"><img src="generic_stroke-2.png" alt="" width="700" height="433"></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
@ -87,6 +87,11 @@
|
||||
<dd>Plot multidimensional cognitive test scores</dd>
|
||||
</dl><dl><dt>
|
||||
|
||||
<code><a href="label_select.html">label_select()</a></code>
|
||||
</dt>
|
||||
<dd>Helper function for labels in gtsummary</dd>
|
||||
</dl><dl><dt>
|
||||
|
||||
<code><a href="plot_olr.html">plot_olr()</a></code>
|
||||
</dt>
|
||||
<dd>Forest plot from ordinal logistic regression.</dd>
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
@ -87,8 +87,8 @@
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">index_plot</span><span class="op">(</span><span class="fu">stroke</span><span class="fu">::</span><span class="va">score</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></span>
|
||||
<span class="r-err co"><span class="r-pr">#></span> <span class="error">Error in loadNamespace(x):</span> there is no package called ‘stroke’</span>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">index_plot</span><span class="op">(</span><span class="fu">stRoke</span><span class="fu">::</span><span class="va"><a href="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></span>
|
||||
<span class="r-plt img"><img src="index_plot-1.png" alt="" width="700" height="433"></span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>
|
||||
|
543
docs/reference/label_select.html
Normal file
543
docs/reference/label_select.html
Normal file
@ -0,0 +1,543 @@
|
||||
<!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='Function to select labels from list of label pairs (format: age~"Age").
|
||||
Alternative is to use attributes, eg from library(Hmisc).'><title>Helper function for labels in gtsummary — label_select • 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.1.3/bootstrap.min.css" rel="stylesheet"><script src="../deps/bootstrap-5.1.3/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.rawgit.com/afeld/bootstrap-toc/v1.0.1/dist/bootstrap-toc.min.js"></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="Helper function for labels in gtsummary — label_select"><meta property="og:description" content='Function to select labels from list of label pairs (format: age~"Age").
|
||||
Alternative is to use attributes, eg from library(Hmisc).'><!-- 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.22.12.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="active nav-item">
|
||||
<a class="nav-link" href="../reference/index.html">Reference</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"></ul></div>
|
||||
|
||||
|
||||
</div>
|
||||
</nav><div class="container template-reference-topic">
|
||||
<div class="row">
|
||||
<main id="main" class="col-md-9"><div class="page-header">
|
||||
<img src="" class="logo" alt=""><h1>Helper function for labels in gtsummary</h1>
|
||||
|
||||
<div class="d-none name"><code>label_select.Rd</code></div>
|
||||
</div>
|
||||
|
||||
<div class="ref-description section level2">
|
||||
<p>Function to select labels from list of label pairs (format: <code>age~"Age"</code>).
|
||||
Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/Hmisc/" class="external-link">library(Hmisc)</a></code>.</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-usage">Usage<a class="anchor" aria-label="anchor" href="#ref-usage"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">label_select</span><span class="op">(</span><span class="va">lst</span>, <span class="va">vec</span><span class="op">)</span></span></code></pre></div>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
|
||||
<dl><dt>lst</dt>
|
||||
<dd><p>List of variables and labels (format: <code>age~"Age"</code>)</p></dd>
|
||||
|
||||
|
||||
<dt>vec</dt>
|
||||
<dd><p>Vector of variables to be subset from the list</p></dd>
|
||||
|
||||
</dl></div>
|
||||
<div class="section level2">
|
||||
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
|
||||
|
||||
|
||||
<p>List of labels ordered like vec, formatted like lst</p>
|
||||
</div>
|
||||
|
||||
<div class="section level2">
|
||||
<h2 id="ref-examples">Examples<a class="anchor" aria-label="anchor" href="#ref-examples"></a></h2>
|
||||
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="va">vars</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 class="st">"hypertension"</span>, <span class="st">"diabetes"</span>, <span class="st">"mrs_1"</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="va">labels_all</span><span class="op"><-</span><span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span><span class="va">rtreat</span><span class="op">~</span><span class="st">"Trial treatment"</span>,</span></span>
|
||||
<span class="r-in"><span><span class="va">civil</span><span class="op">~</span><span class="st">"Cohabitation"</span>,</span></span>
|
||||
<span class="r-in"><span><span class="va">diabetes</span><span class="op">~</span><span class="st">"Known diabetes"</span>, </span></span>
|
||||
<span class="r-in"><span><span class="va">hypertension</span><span class="op">~</span><span class="st">"Known hypertension"</span>, </span></span>
|
||||
<span class="r-in"><span><span class="va">mrs_1</span><span class="op">~</span><span class="st">"One month mRS"</span>, </span></span>
|
||||
<span class="r-in"><span><span class="va">mrs_6</span><span class="op">~</span><span class="st">"Six months mRS"</span>, </span></span>
|
||||
<span class="r-in"><span><span class="st">'[Intercept]'</span><span class="op">~</span><span class="st">"Intercept"</span><span class="op">)</span></span></span>
|
||||
<span class="r-in"><span><span class="fu">stRoke</span><span class="fu">::</span><span class="va"><a href="talos.html">talos</a></span><span class="op">[</span><span class="va">vars</span><span class="op">]</span> <span class="op">|></span> <span class="fu">gtsummary</span><span class="fu">::</span><span class="fu"><a href="https://www.danieldsjoberg.com/gtsummary/reference/tbl_summary.html" class="external-link">tbl_summary</a></span><span class="op">(</span>label <span class="op">=</span> <span class="fu">label_select</span><span class="op">(</span><span class="va">labels_all</span>,<span class="va">vars</span><span class="op">)</span><span class="op">)</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <div id="dexiwyxheq" style="overflow-x:auto;overflow-y:auto;width:auto;height:auto;"></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <style>html {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', 'Fira Sans', 'Droid Sans', Arial, sans-serif;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_table {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> display: table;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-collapse: collapse;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> margin-left: auto;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> margin-right: auto;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 16px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: normal;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-style: normal;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> width: auto;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #A8A8A8;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #A8A8A8;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_heading {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-align: center;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_title {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 125%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: initial;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 4px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 4px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_subtitle {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 85%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: initial;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 6px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_bottom_border {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_col_headings {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_col_heading {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 100%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: normal;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-transform: inherit;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> vertical-align: bottom;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 6px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> overflow-x: hidden;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_column_spanner_outer {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 100%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: normal;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-transform: inherit;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 4px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 4px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_column_spanner_outer:first-child {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_column_spanner_outer:last-child {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_column_spanner {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> vertical-align: bottom;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> overflow-x: hidden;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> display: inline-block;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> width: 100%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_group_heading {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 100%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: initial;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-transform: inherit;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> vertical-align: middle;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_empty_group_heading {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding: 0.5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 100%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: initial;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> vertical-align: middle;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_from_md > :first-child {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> margin-top: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_from_md > :last-child {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> margin-bottom: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_row {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> margin: 10px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 1px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> vertical-align: middle;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> overflow-x: hidden;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_stub {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 100%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: initial;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-transform: inherit;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_stub_row_group {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 100%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: initial;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-transform: inherit;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> vertical-align: top;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_row_group_first td {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_summary_row {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-transform: inherit;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_first_summary_row {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_first_summary_row.thick {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_last_summary_row {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_grand_summary_row {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-transform: inherit;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_first_grand_summary_row {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 8px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-style: double;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 6px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_striped {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: rgba(128, 128, 128, 0.05);</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_table_body {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-top-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: solid;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_footnotes {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_footnote {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> margin: 0px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 90%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 4px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 4px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_sourcenotes {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> color: #333333;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> background-color: #FFFFFF;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-bottom-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-left-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-style: none;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-width: 2px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> border-right-color: #D3D3D3;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_sourcenote {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 90%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-top: 4px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-bottom: 4px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-left: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> padding-right: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_left {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-align: left;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_center {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-align: center;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_right {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-align: right;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-variant-numeric: tabular-nums;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_font_normal {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: normal;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_font_bold {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: bold;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_font_italic {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-style: italic;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_super {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 65%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_footnote_marks {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-style: italic;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-weight: normal;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 75%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> vertical-align: 0.4em;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_asterisk {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> font-size: 100%;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> vertical-align: 0;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_indent_1 {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-indent: 5px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_indent_2 {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-indent: 10px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_indent_3 {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-indent: 15px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_indent_4 {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-indent: 20px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> #dexiwyxheq .gt_indent_5 {</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> text-indent: 25px;</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> }</span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </style></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <table class="gt_table"></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <thead class="gt_col_headings"></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col"><strong>Characteristic</strong></th></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col"><strong>N = 200</strong><sup class="gt_footnote_marks">1</sup></th></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </thead></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tbody class="gt_table_body"></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr><td class="gt_row gt_left">Known hypertension</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">101 (50%)</td></tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr><td class="gt_row gt_left">Known diabetes</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">23 (12%)</td></tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr><td class="gt_row gt_left">One month mRS</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center"></td></tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr><td class="gt_row gt_left" style="text-align: left; text-indent: 10px;">0</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">31 (16%)</td></tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr><td class="gt_row gt_left" style="text-align: left; text-indent: 10px;">1</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">74 (37%)</td></tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr><td class="gt_row gt_left" style="text-align: left; text-indent: 10px;">2</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">64 (32%)</td></tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr><td class="gt_row gt_left" style="text-align: left; text-indent: 10px;">3</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">16 (8.0%)</td></tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr><td class="gt_row gt_left" style="text-align: left; text-indent: 10px;">4</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">10 (5.0%)</td></tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr><td class="gt_row gt_left" style="text-align: left; text-indent: 10px;">5</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">1 (0.5%)</td></tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr><td class="gt_row gt_left" style="text-align: left; text-indent: 10px;">6</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_row gt_center">4 (2.0%)</td></tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </tbody></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tfoot class="gt_footnotes"></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> <td class="gt_footnote" colspan="2"><sup class="gt_footnote_marks">1</sup> n (%)</td></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </tr></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </tfoot></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </table></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> </div></span>
|
||||
</code></pre></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.6.</p>
|
||||
</div>
|
||||
|
||||
</footer></div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body></html>
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 85 KiB After Width: | Height: | Size: 90 KiB |
@ -10,7 +10,7 @@
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
@ -101,7 +101,7 @@
|
||||
<span class="r-in"><span><span class="va">x</span> <span class="op"><-</span> <span class="fl">1</span><span class="op">:</span><span class="fl">450</span></span></span>
|
||||
<span class="r-in"><span><span class="va">y</span> <span class="op"><-</span> <span class="fl">6</span><span class="op">:</span><span class="fl">750</span></span></span>
|
||||
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base/summary.html" class="external-link">summary</a></span><span class="op">(</span><span class="fu">quantile_cut</span><span class="op">(</span><span class="va">aa</span>,groups<span class="op">=</span><span class="fl">4</span>,detail.list<span class="op">=</span><span class="cn">FALSE</span><span class="op">)</span><span class="op">)</span> <span class="co">## Cuts quartiles</span></span></span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1,248] (248,496] (496,753] (753,1e+03] </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> [1,264] (264,520] (520,773] (773,1e+03] </span>
|
||||
<span class="r-out co"><span class="r-pr">#></span> 500 501 500 499 </span>
|
||||
</code></pre></div>
|
||||
</div>
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
|
@ -12,7 +12,7 @@ This function is really helpfull when working on eg sst.dk-servers. You can not
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
|
@ -10,7 +10,7 @@
|
||||
|
||||
<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.22.11.3</small>
|
||||
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.22.12.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">
|
||||
|
File diff suppressed because one or more lines are too long
@ -39,6 +39,9 @@
|
||||
<url>
|
||||
<loc>/reference/index_plot.html</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/reference/label_select.html</loc>
|
||||
</url>
|
||||
<url>
|
||||
<loc>/reference/plot_olr.html</loc>
|
||||
</url>
|
||||
|
@ -28,12 +28,15 @@ ggplot
|
||||
github
|
||||
grotta
|
||||
grottaBar
|
||||
gtsummary
|
||||
helpfull
|
||||
https
|
||||
lst
|
||||
mRS
|
||||
olr
|
||||
polr
|
||||
sst
|
||||
vec
|
||||
www
|
||||
xxxx
|
||||
yyyy
|
||||
|
@ -16,6 +16,6 @@ Logical vector
|
||||
Just checking if last number of a string is equal or not.
|
||||
}
|
||||
\examples{
|
||||
cpr_female(stroke::cprs[,1])
|
||||
cpr_female(stRoke::cprs[,1])
|
||||
}
|
||||
\keyword{cpr}
|
||||
|
@ -26,5 +26,5 @@ Please just use this function for illustration purposes.
|
||||
To dos: modify grottaBar and include as own function.
|
||||
}
|
||||
\examples{
|
||||
generic_stroke(stroke::talos, "rtreat", "mrs_6", variables = c("hypertension","diabetes","civil"))
|
||||
generic_stroke(stRoke::talos, "rtreat", "mrs_6", variables = c("hypertension","diabetes","civil"))
|
||||
}
|
||||
|
@ -33,5 +33,5 @@ ggplot element
|
||||
Plot index scores from five dimensional cognitive testing. Includes option to facet.
|
||||
}
|
||||
\examples{
|
||||
index_plot(stroke::score[score$event=="A",])
|
||||
index_plot(stRoke::score[score$event=="A",])
|
||||
}
|
||||
|
31
man/label_select.Rd
Normal file
31
man/label_select.Rd
Normal file
@ -0,0 +1,31 @@
|
||||
% Generated by roxygen2: do not edit by hand
|
||||
% Please edit documentation in R/label_select.R
|
||||
\name{label_select}
|
||||
\alias{label_select}
|
||||
\title{Helper function for labels in gtsummary}
|
||||
\usage{
|
||||
label_select(lst, vec)
|
||||
}
|
||||
\arguments{
|
||||
\item{lst}{List of variables and labels (format: \code{age~"Age"})}
|
||||
|
||||
\item{vec}{Vector of variables to be subset from the list}
|
||||
}
|
||||
\value{
|
||||
List of labels ordered like vec, formatted like lst
|
||||
}
|
||||
\description{
|
||||
Function to select labels from list of label pairs (format: \code{age~"Age"}).
|
||||
Alternative is to use attributes, eg from \code{library(Hmisc)}.
|
||||
}
|
||||
\examples{
|
||||
vars<-c("hypertension", "diabetes", "mrs_1")
|
||||
labels_all<-list(rtreat~"Trial treatment",
|
||||
civil~"Cohabitation",
|
||||
diabetes~"Known diabetes",
|
||||
hypertension~"Known hypertension",
|
||||
mrs_1~"One month mRS",
|
||||
mrs_6~"Six months mRS",
|
||||
'[Intercept]'~"Intercept")
|
||||
stRoke::talos[vars] |> gtsummary::tbl_summary(label = label_select(labels_all,vars))
|
||||
}
|
11
tests/testthat/test-label_select.R
Normal file
11
tests/testthat/test-label_select.R
Normal file
@ -0,0 +1,11 @@
|
||||
|
||||
################################################################################
|
||||
|
||||
testthat::test_that("lab_sel() works for vectors, giving list of length 3", {
|
||||
labels_all<-list(rtreat~"Trial treatment",civil~"Cohabitation",diabetes~"Known diabetes", hypertension~"Known hypertension", mrs_1~"One month mRS", mrs_6~"Six months mRS", '[Intercept]'~"Intercept")
|
||||
result <- label_select(labels_all,c("hypertension", "diabetes", "mrs_1"))
|
||||
testthat::expect_type(result, "list")
|
||||
testthat::expect_length(result, 3)
|
||||
})
|
||||
|
||||
################################################################################
|
Loading…
Reference in New Issue
Block a user