2023-06-30 10:04:32 +02:00
<!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" >
< title > Toolbox • stRoke< / title >
<!-- favicons --> < link rel = "icon" type = "image/png" sizes = "16x16" href = "../favicon-16x16.png" >
< link rel = "icon" type = "image/png" sizes = "32x32" href = "../favicon-32x32.png" >
< link rel = "apple-touch-icon" type = "image/png" sizes = "180x180" href = "../apple-touch-icon.png" >
< link rel = "apple-touch-icon" type = "image/png" sizes = "120x120" href = "../apple-touch-icon-120x120.png" >
< link rel = "apple-touch-icon" type = "image/png" sizes = "76x76" href = "../apple-touch-icon-76x76.png" >
< link rel = "apple-touch-icon" type = "image/png" sizes = "60x60" href = "../apple-touch-icon-60x60.png" >
< 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" >
2024-02-09 09:30:37 +01:00
< link href = "../deps/bootstrap-5.3.1/bootstrap.min.css" rel = "stylesheet" >
2024-10-10 14:22:20 +02:00
< script src = "../deps/bootstrap-5.3.1/bootstrap.bundle.min.js" > < / script > < link href = "../deps/font-awesome-6.4.2/css/all.min.css" rel = "stylesheet" >
< link href = "../deps/font-awesome-6.4.2/css/v4-shims.min.css" rel = "stylesheet" >
< script src = "../deps/headroom-0.11.0/headroom.min.js" > < / script > < script src = "../deps/headroom-0.11.0/jQuery.headroom.min.js" > < / script > < script src = "../deps/bootstrap-toc-1.0.1/bootstrap-toc.min.js" > < / script > < script src = "../deps/clipboard.js-2.0.11/clipboard.min.js" > < / script > < script src = "../deps/search-1.0.0/autocomplete.jquery.min.js" > < / script > < script src = "../deps/search-1.0.0/fuse.min.js" > < / script > < script src = "../deps/search-1.0.0/mark.min.js" > < / script > <!-- pkgdown --> < script src = "../pkgdown.js" > < / script > < meta property = "og:title" content = "Toolbox" >
2023-06-30 10:04:32 +02:00
< / head >
< body >
< a href = "#main" class = "visually-hidden-focusable" > Skip to contents< / a >
2024-10-10 14:22:20 +02:00
< nav class = "navbar navbar-expand-lg fixed-top bg-light" data-bs-theme = "light" aria-label = "Site navigation" > < div class = "container" >
2023-06-30 10:04:32 +02:00
< a class = "navbar-brand me-2" href = "../index.html" > stRoke< / a >
2024-10-10 14:22:20 +02:00
< small class = "nav-text text-muted me-auto" data-bs-toggle = "tooltip" data-bs-placement = "bottom" title = "" > 24.10.1< / small >
2023-06-30 10:04:32 +02:00
< 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" >
2024-10-10 14:22:20 +02:00
< li class = "nav-item" > < a class = "nav-link" href = "../reference/index.html" > Reference< / a > < / li >
2023-06-30 10:04:32 +02:00
< li class = "active nav-item dropdown" >
2024-10-10 14:22:20 +02:00
< button class = "nav-link dropdown-toggle" type = "button" id = "dropdown-articles" data-bs-toggle = "dropdown" aria-expanded = "false" aria-haspopup = "true" > Articles< / button >
< ul class = "dropdown-menu" aria-labelledby = "dropdown-articles" >
< li > < a class = "dropdown-item" href = "../articles/toolbox.html" > Toolbox< / a > < / li >
< / ul >
2023-06-30 10:04:32 +02:00
< / li >
2024-10-10 14:22:20 +02:00
< li class = "nav-item" > < a class = "nav-link" href = "../news/index.html" > Changelog< / a > < / li >
2023-06-30 10:04:32 +02:00
< / ul >
2024-10-10 14:22:20 +02:00
< ul class = "navbar-nav" >
< li class = "nav-item" > < form class = "form-inline" role = "search" >
< input class = "form-control" type = "search" name = "search-input" id = "search-input" autocomplete = "off" aria-label = "Search site" placeholder = "Search for" data-search-index = "../search.json" >
< / form > < / li >
< li class = "nav-item" > < a class = "external-link nav-link" href = "https://github.com/agdamsbo/stRoke/" aria-label = "GitHub" > < span class = "fa fab fa-github fa-lg" > < / span > < / a > < / li >
2023-06-30 10:04:32 +02:00
< / ul >
< / div >
2024-10-10 14:22:20 +02:00
2023-06-30 10:04:32 +02:00
< / div >
< / nav > < div class = "container template-article" >
< div class = "row" >
< main id = "main" class = "col-md-9" > < div class = "page-header" >
< img src = "../logo.png" class = "logo" alt = "" > < h1 > Toolbox< / h1 >
2024-10-24 09:21:42 +02:00
< h4 data-toc-skip class = "date" > 2024-10-24< / h4 >
2023-06-30 10:04:32 +02:00
2024-10-10 14:22:20 +02:00
< small class = "dont-index" > Source: < a href = "https://github.com/agdamsbo/stRoke/blob/main/vignettes/toolbox.Rmd" class = "external-link" > < code > vignettes/toolbox.Rmd< / code > < / a > < / small >
2023-06-30 10:04:32 +02:00
< div class = "d-none name" > < code > toolbox.Rmd< / code > < / div >
< / div >
< div class = "sourceCode" id = "cb1" > < pre class = "downlit sourceCode r" >
< code class = "sourceCode R" > < span > < span class = "kw" > < a href = "https://rdrr.io/r/base/library.html" class = "external-link" > library< / a > < / span > < span class = "op" > (< / span > < span class = "va" > < a href = "https://agdamsbo.github.io/stRoke/" > stRoke< / a > < / span > < span class = "op" > )< / span > < / span > < / code > < / pre > < / div >
< div class = "section level2" >
< h2 id = "a-toolbox" > A toolbox< a class = "anchor" aria-label = "anchor" href = "#a-toolbox" > < / a >
< / h2 >
< p > My own toolbox in my small workshop is a mix of some old, worn, well
proven tools and some newcomers. This package should be seen as
something like that.< / p >
< p > I have tried to collect tools and functions from other packages that
I use regularly in addition to functions that I have written myself to
fill use cases, that I have not been able to find solutions to
elsewhere.< / p >
< p > In documenting and testing the package, I have used < a href = "https://platform.openai.com/overview" class = "external-link" > OpenAI’ s< / a > chatgpt with < a href = "https://jameshwade.github.io/gpttools/" class = "external-link" > gpttools< / a > . The chatgpt
is an interesting tool, that is in no way perfect, but it helps with
tedious tasks. Both < code > gpttools< / code > and < a href = "https://michelnivard.github.io/gptstudio/" class = "external-link" > < code > gptstudio< / code > < / a >
are interesting implementations in R and RStudio.< / p >
< div class = "section level3" >
< h3 id = "cpr-intro" > CPR manipulations< a class = "anchor" aria-label = "anchor" href = "#cpr-intro" > < / a >
< / h3 >
< p > Note that, if handled, CPR numbers (social security numbers) should
be handled with care as they a considered highly sensitive data.< / p >
< p > The CPR number is structured as < em > DDMMYY-XXXX< / em > , with the 1st
< em > X< / em > designating decade of birth, the last < em > X< / em > designate
binary gender (not biological sex) dependent on even/uneven as
female/male, and the last for digits are used in a modulus calculation
to verify the validity of the CPR number. Foreigners and unidentified
persons are given temporary CPR numbers including letters.< / p >
< p > More information can be found on < a href = "https://cpr.dk" class = "external-link" > cpr.dk< / a > .< / p >
< p > Note, that all CPR numbers used in examples are publicly known or
non-organic.< / p >
< div class = "section level4" >
< h4 id = "age_calc" > age_calc()< a class = "anchor" aria-label = "anchor" href = "#age_calc" > < / a >
< / h4 >
< p > The age_calc() function was created as a learning exercise and
functions similarly to < code > < a href = "https://lubridate.tidyverse.org/reference/time_length.html" class = "external-link" > lubridate::time_length()< / a > < / code > .< / p >
< div class = "sourceCode" id = "cb2" > < pre class = "downlit sourceCode r" >
< code class = "sourceCode R" > < span > < span class = "op" > (< / span > < span class = "va" > age< / span > < span class = "op" > < -< / span > < span class = "fu" > < a href = "../reference/age_calc.html" > age_calc< / a > < / span > < span class = "op" > (< / span > < span class = "fu" > < a href = "https://rdrr.io/r/base/as.Date.html" class = "external-link" > as.Date< / a > < / span > < span class = "op" > (< / span > < span class = "st" > "1945-10-23"< / span > < span class = "op" > )< / span > , < span class = "fu" > < a href = "https://rdrr.io/r/base/as.Date.html" class = "external-link" > as.Date< / a > < / span > < span class = "op" > (< / span > < span class = "st" > "2018-09-30"< / span > < span class = "op" > )< / span > < span class = "op" > )< / span > < span class = "op" > )< / span > < / span >
< span > < span class = "co" > #> [1] 72.93699< / span > < / span >
< span > < span class = "fu" > < a href = "https://rdrr.io/r/base/Round.html" class = "external-link" > trunc< / a > < / span > < span class = "op" > (< / span > < span class = "va" > age< / span > < span class = "op" > )< / span > < / span >
< span > < span class = "co" > #> [1] 72< / span > < / span > < / code > < / pre > < / div >
< / div >
< div class = "section level4" >
< h4 id = "cpr_check" > cpr_check()< a class = "anchor" aria-label = "anchor" href = "#cpr_check" > < / a >
< / h4 >
< p > Checks validity of CPR numbers according to the < a href = "https://cpr.dk/cpr-systemet/opbygning-af-cpr-nummeret" class = "external-link" > modulus 11
rule< / a > . Note that due to limitations in the possible available CPR
numbers, this rule < a href = "https://cpr.dk/cpr-systemet/personnumre-uden-kontrolciffer-modulus-11-kontrol" class = "external-link" > does
not apply to all CPR numbers after 2007< / a > .< / p >
< div class = "sourceCode" id = "cb3" > < pre class = "downlit sourceCode r" >
< code class = "sourceCode R" > < span > < span class = "fu" > < a href = "../reference/cpr_check.html" > cpr_check< / a > < / span > < span class = "op" > (< / span > < / span >
< span > < span class = "fu" > < a href = "https://rdrr.io/r/base/c.html" class = "external-link" > c< / a > < / span > < span class = "op" > (< / span > < / span >
< span > < span class = "st" > "2310450637"< / span > ,< / span >
< span > < span class = "st" > "010190-2000"< / span > ,< / span >
< span > < span class = "st" > "010115-4000"< / span > ,< / span >
< span > < span class = "st" > "300450-1030"< / span > ,< / span >
< span > < span class = "st" > "010150-4021"< / span > ,< / span >
< span > < span class = "st" > "010150-4AA1"< / span > < / span >
< span > < span class = "op" > )< / span > < / span >
< span > < span class = "op" > )< / span > < / span >
< span > < span class = "co" > #> OBS: as per 2007 not all valid CPR numbers apply to modulus 11 rule.< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> See the vignette 'Toolbox'< / span > < / span >
< span > < span class = "co" > #> Warning in matrix(as.numeric(unlist(strsplit(cpr_short, ""))), nrow = 10): NAs< / span > < / span >
< span > < span class = "co" > #> introduced by coercion< / span > < / span >
< span > < span class = "co" > #> [1] TRUE FALSE FALSE FALSE FALSE NA< / span > < / span > < / code > < / pre > < / div >
< p > Including CPR numbers with letters gives a warning and
< code > NA< / code > , as it can not be checked by the modulus 11 function.
Should be used with care, see the message.< / p >
< / div >
< div class = "section level4" >
< h4 id = "cpr_dob" > cpr_dob()< a class = "anchor" aria-label = "anchor" href = "#cpr_dob" > < / a >
< / h4 >
< p > Extracts date of birth (DOB) from a CPR number. Accounts for the
decade of birth. < a href = "#cpr-intro" > See earlier< / a > .< / p >
< div class = "sourceCode" id = "cb4" > < pre class = "downlit sourceCode r" >
< code class = "sourceCode R" > < span > < span class = "fu" > < a href = "../reference/cpr_dob.html" > cpr_dob< / a > < / span > < span class = "op" > (< / span > < span class = "fu" > < a href = "https://rdrr.io/r/base/c.html" class = "external-link" > c< / a > < / span > < span class = "op" > (< / span > < / span >
< span > < span class = "st" > "2310450637"< / span > ,< / span >
< span > < span class = "st" > "010190-2000"< / span > ,< / span >
< span > < span class = "st" > "010115-4000"< / span > ,< / span >
< span > < span class = "st" > "300450-1030"< / span > ,< / span >
< span > < span class = "st" > "010150-4021"< / span > < / span >
< span > < span class = "op" > )< / span > < span class = "op" > )< / span > < / span >
< span > < span class = "co" > #> [1] "23-10-1945" "01-01-1990" "01-01-2015" "30-04-1950" "01-01-1950"< / span > < / span > < / code > < / pre > < / div >
< / div >
< div class = "section level4" >
< h4 id = "cpr_female" > cpr_female()< a class = "anchor" aria-label = "anchor" href = "#cpr_female" > < / a >
< / h4 >
< p > Gives logical vector of whether female gender from last digit of
CPR.< / p >
< div class = "sourceCode" id = "cb5" > < pre class = "downlit sourceCode r" >
< code class = "sourceCode R" > < span > < span class = "fu" > < a href = "https://rdrr.io/r/base/table.html" class = "external-link" > table< / a > < / span > < span class = "op" > (< / span > < span class = "fu" > < a href = "../reference/cpr_female.html" > cpr_female< / a > < / span > < span class = "op" > (< / span > < span class = "fu" > stRoke< / span > < span class = "fu" > ::< / span > < span class = "va" > < a href = "../reference/cprs.html" > cprs< / a > < / span > < span class = "op" > [< / span > , < span class = "fl" > 1< / span > < span class = "op" > ]< / span > < span class = "op" > )< / span > < span class = "op" > )< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> FALSE TRUE < / span > < / span >
< span > < span class = "co" > #> 98 102< / span > < / span > < / code > < / pre > < / div >
< / div >
< / div >
< div class = "section level3" >
< h3 id = "plotting" > Plotting< a class = "anchor" aria-label = "anchor" href = "#plotting" > < / a >
< / h3 >
< div class = "section level4" >
< h4 id = "ci_plot" > ci_plot()< a class = "anchor" aria-label = "anchor" href = "#ci_plot" > < / a >
< / h4 >
< p > Plots odds ratios with 95 % confidence intervals. Performs binary
logistic regression for outcome factors with two (2) levels and ordinal
logistic regression for outcome factors with more than two levels. Mind
relevant assumptions.< / p >
< p > Outputs ggplot element for further manipulation.< / p >
< div class = "sourceCode" id = "cb6" > < pre class = "downlit sourceCode r" >
< code class = "sourceCode R" > < span > < span class = "fu" > < a href = "https://rdrr.io/r/utils/data.html" class = "external-link" > data< / a > < / span > < span class = "op" > (< / span > < span class = "va" > talos< / span > < span class = "op" > )< / span > < / span >
< span > < span class = "va" > talos< / span > < span class = "op" > [< / span > , < span class = "st" > "mrs_1"< / span > < span class = "op" > ]< / span > < span class = "op" > < -< / span > < span class = "fu" > < a href = "https://rdrr.io/r/base/factor.html" class = "external-link" > factor< / a > < / span > < span class = "op" > (< / span > < span class = "va" > talos< / span > < span class = "op" > [< / span > , < span class = "st" > "mrs_1"< / span > < span class = "op" > ]< / span > , ordered < span class = "op" > =< / span > < span class = "cn" > TRUE< / span > < span class = "op" > )< / span > < / span >
< span > < span class = "fu" > < a href = "../reference/ci_plot.html" > ci_plot< / a > < / span > < span class = "op" > (< / span > < / span >
< span > ds < span class = "op" > =< / span > < span class = "va" > talos< / span > ,< / span >
< span > x < span class = "op" > =< / span > < span class = "st" > "rtreat"< / span > ,< / span >
< span > y < span class = "op" > =< / span > < span class = "st" > "mrs_1"< / span > ,< / span >
< span > vars < span class = "op" > =< / span > < span class = "fu" > < a href = "https://rdrr.io/r/base/c.html" class = "external-link" > c< / a > < / span > < span class = "op" > (< / span > < span class = "st" > "hypertension"< / span > , < span class = "st" > "diabetes"< / span > < span class = "op" > )< / span > < / span >
< span > < span class = "op" > )< / span > < / span >
< span > < span class = "co" > #> Waiting for profiling to be done...< / span > < / span > < / code > < / pre > < / div >
< p > < img src = "toolbox_files/figure-html/ci_plot-example-1.png" width = "700" > < / p >
< / div >
< div class = "section level4" >
< h4 id = "generic_stroke" > generic_stroke()< a class = "anchor" aria-label = "anchor" href = "#generic_stroke" > < / a >
< / h4 >
< p > For learning purposes. Uses annonymized data from the < a href = "https://doi.org/10.1161/STROKEAHA.117.020067" class = "external-link" > TALOS trial< / a > to
output a Table 1 (with < code > < a href = "https://www.danieldsjoberg.com/gtsummary/reference/tbl_summary.html" class = "external-link" > gtsummary::tbl_summary()< / a > < / code > ), plotting
the so-called grotta-bars based on mRS scores (with
< code > < a href = "https://rdrr.io/pkg/rankinPlot/man/grottaBar.html" class = "external-link" > rankinPlot::grottaBar()< / a > < / code > ) and a ordinal logistic regression
model plot (with < code > < a href = "../reference/ci_plot.html" > stRoke::ci_plot()< / a > < / code > ).< / p >
< div class = "sourceCode" id = "cb7" > < pre class = "downlit sourceCode r" >
< code class = "sourceCode R" > < span > < span class = "fu" > < a href = "../reference/generic_stroke.html" > generic_stroke< / a > < / span > < span class = "op" > (< / span > < span class = "fu" > stRoke< / span > < span class = "fu" > ::< / span > < span class = "va" > < a href = "../reference/talos.html" > talos< / a > < / span > ,< / span >
< span > < span class = "st" > "rtreat"< / span > ,< / span >
< span > < span class = "st" > "mrs_6"< / span > ,< / span >
< span > variables < span class = "op" > =< / span > < span class = "fu" > < a href = "https://rdrr.io/r/base/c.html" class = "external-link" > c< / a > < / span > < span class = "op" > (< / span > < span class = "st" > "hypertension"< / span > , < span class = "st" > "diabetes"< / span > , < span class = "st" > "civil"< / span > < span class = "op" > )< / span > < span class = "op" > )< / span > < / span >
< span > < span class = "co" > #> Waiting for profiling to be done...< / span > < / span >
< span > < span class = "co" > #> $`Table 1`< / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> < div id="mwlefoodfi" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;"> < / span > < / span >
< span > < span class = "co" > #> < style> #mwlefoodfi table {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> font-family: system-ui, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';< / span > < / span >
< span > < span class = "co" > #> -webkit-font-smoothing: antialiased;< / span > < / span >
< span > < span class = "co" > #> -moz-osx-font-smoothing: grayscale;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi thead, #mwlefoodfi tbody, #mwlefoodfi tfoot, #mwlefoodfi tr, #mwlefoodfi td, #mwlefoodfi th {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> border-style: none;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi p {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> margin: 0;< / span > < / span >
< span > < span class = "co" > #> padding: 0;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_table {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> display: table;< / span > < / span >
< span > < span class = "co" > #> border-collapse: collapse;< / span > < / span >
< span > < span class = "co" > #> line-height: normal;< / span > < / span >
< span > < span class = "co" > #> margin-left: auto;< / span > < / span >
< span > < span class = "co" > #> margin-right: auto;< / span > < / span >
< span > < span class = "co" > #> color: #333333;< / span > < / span >
< span > < span class = "co" > #> font-size: 16px;< / span > < / span >
< span > < span class = "co" > #> font-weight: normal;< / span > < / span >
< span > < span class = "co" > #> font-style: normal;< / span > < / span >
< span > < span class = "co" > #> background-color: #FFFFFF;< / span > < / span >
< span > < span class = "co" > #> width: auto;< / span > < / span >
< span > < span class = "co" > #> border-top-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-top-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-top-color: #A8A8A8;< / span > < / span >
< span > < span class = "co" > #> border-right-style: none;< / span > < / span >
< span > < span class = "co" > #> border-right-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-right-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-bottom-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-bottom-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-bottom-color: #A8A8A8;< / span > < / span >
< span > < span class = "co" > #> border-left-style: none;< / span > < / span >
< span > < span class = "co" > #> border-left-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-left-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_caption {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> padding-top: 4px;< / span > < / span >
< span > < span class = "co" > #> padding-bottom: 4px;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_title {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> color: #333333;< / span > < / span >
< span > < span class = "co" > #> font-size: 125%;< / span > < / span >
< span > < span class = "co" > #> font-weight: initial;< / span > < / span >
< span > < span class = "co" > #> padding-top: 4px;< / span > < / span >
< span > < span class = "co" > #> padding-bottom: 4px;< / span > < / span >
< span > < span class = "co" > #> padding-left: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-right: 5px;< / span > < / span >
< span > < span class = "co" > #> border-bottom-color: #FFFFFF;< / span > < / span >
< span > < span class = "co" > #> border-bottom-width: 0;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_subtitle {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> color: #333333;< / span > < / span >
< span > < span class = "co" > #> font-size: 85%;< / span > < / span >
< span > < span class = "co" > #> font-weight: initial;< / span > < / span >
< span > < span class = "co" > #> padding-top: 3px;< / span > < / span >
< span > < span class = "co" > #> padding-bottom: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-left: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-right: 5px;< / span > < / span >
< span > < span class = "co" > #> border-top-color: #FFFFFF;< / span > < / span >
< span > < span class = "co" > #> border-top-width: 0;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_heading {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> background-color: #FFFFFF;< / span > < / span >
< span > < span class = "co" > #> text-align: center;< / span > < / span >
< span > < span class = "co" > #> border-bottom-color: #FFFFFF;< / span > < / span >
< span > < span class = "co" > #> border-left-style: none;< / span > < / span >
< span > < span class = "co" > #> border-left-width: 1px;< / span > < / span >
< span > < span class = "co" > #> border-left-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-right-style: none;< / span > < / span >
< span > < span class = "co" > #> border-right-width: 1px;< / span > < / span >
< span > < span class = "co" > #> border-right-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_bottom_border {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> border-bottom-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-bottom-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-bottom-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_col_headings {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> border-top-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-top-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-top-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-bottom-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-bottom-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-bottom-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-left-style: none;< / span > < / span >
< span > < span class = "co" > #> border-left-width: 1px;< / span > < / span >
< span > < span class = "co" > #> border-left-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-right-style: none;< / span > < / span >
< span > < span class = "co" > #> border-right-width: 1px;< / span > < / span >
< span > < span class = "co" > #> border-right-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_col_heading {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> color: #333333;< / span > < / span >
< span > < span class = "co" > #> background-color: #FFFFFF;< / span > < / span >
< span > < span class = "co" > #> font-size: 100%;< / span > < / span >
< span > < span class = "co" > #> font-weight: normal;< / span > < / span >
< span > < span class = "co" > #> text-transform: inherit;< / span > < / span >
< span > < span class = "co" > #> border-left-style: none;< / span > < / span >
< span > < span class = "co" > #> border-left-width: 1px;< / span > < / span >
< span > < span class = "co" > #> border-left-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-right-style: none;< / span > < / span >
< span > < span class = "co" > #> border-right-width: 1px;< / span > < / span >
< span > < span class = "co" > #> border-right-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> vertical-align: bottom;< / span > < / span >
< span > < span class = "co" > #> padding-top: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-bottom: 6px;< / span > < / span >
< span > < span class = "co" > #> padding-left: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-right: 5px;< / span > < / span >
< span > < span class = "co" > #> overflow-x: hidden;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_column_spanner_outer {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> color: #333333;< / span > < / span >
< span > < span class = "co" > #> background-color: #FFFFFF;< / span > < / span >
< span > < span class = "co" > #> font-size: 100%;< / span > < / span >
< span > < span class = "co" > #> font-weight: normal;< / span > < / span >
< span > < span class = "co" > #> text-transform: inherit;< / span > < / span >
< span > < span class = "co" > #> padding-top: 0;< / span > < / span >
< span > < span class = "co" > #> padding-bottom: 0;< / span > < / span >
< span > < span class = "co" > #> padding-left: 4px;< / span > < / span >
< span > < span class = "co" > #> padding-right: 4px;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_column_spanner_outer:first-child {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> padding-left: 0;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_column_spanner_outer:last-child {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> padding-right: 0;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_column_spanner {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> border-bottom-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-bottom-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-bottom-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> vertical-align: bottom;< / span > < / span >
< span > < span class = "co" > #> padding-top: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-bottom: 5px;< / span > < / span >
< span > < span class = "co" > #> overflow-x: hidden;< / span > < / span >
< span > < span class = "co" > #> display: inline-block;< / span > < / span >
< span > < span class = "co" > #> width: 100%;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_spanner_row {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> border-bottom-style: hidden;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_group_heading {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> padding-top: 8px;< / span > < / span >
< span > < span class = "co" > #> padding-bottom: 8px;< / span > < / span >
< span > < span class = "co" > #> padding-left: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-right: 5px;< / span > < / span >
< span > < span class = "co" > #> color: #333333;< / span > < / span >
< span > < span class = "co" > #> background-color: #FFFFFF;< / span > < / span >
< span > < span class = "co" > #> font-size: 100%;< / span > < / span >
< span > < span class = "co" > #> font-weight: initial;< / span > < / span >
< span > < span class = "co" > #> text-transform: inherit;< / span > < / span >
< span > < span class = "co" > #> border-top-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-top-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-top-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-bottom-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-bottom-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-bottom-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-left-style: none;< / span > < / span >
< span > < span class = "co" > #> border-left-width: 1px;< / span > < / span >
< span > < span class = "co" > #> border-left-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-right-style: none;< / span > < / span >
< span > < span class = "co" > #> border-right-width: 1px;< / span > < / span >
< span > < span class = "co" > #> border-right-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> vertical-align: middle;< / span > < / span >
< span > < span class = "co" > #> text-align: left;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_empty_group_heading {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> padding: 0.5px;< / span > < / span >
< span > < span class = "co" > #> color: #333333;< / span > < / span >
< span > < span class = "co" > #> background-color: #FFFFFF;< / span > < / span >
< span > < span class = "co" > #> font-size: 100%;< / span > < / span >
< span > < span class = "co" > #> font-weight: initial;< / span > < / span >
< span > < span class = "co" > #> border-top-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-top-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-top-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-bottom-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-bottom-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-bottom-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> vertical-align: middle;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_from_md > :first-child {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> margin-top: 0;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_from_md > :last-child {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> margin-bottom: 0;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_row {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> padding-top: 8px;< / span > < / span >
< span > < span class = "co" > #> padding-bottom: 8px;< / span > < / span >
< span > < span class = "co" > #> padding-left: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-right: 5px;< / span > < / span >
< span > < span class = "co" > #> margin: 10px;< / span > < / span >
< span > < span class = "co" > #> border-top-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-top-width: 1px;< / span > < / span >
< span > < span class = "co" > #> border-top-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-left-style: none;< / span > < / span >
< span > < span class = "co" > #> border-left-width: 1px;< / span > < / span >
< span > < span class = "co" > #> border-left-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-right-style: none;< / span > < / span >
< span > < span class = "co" > #> border-right-width: 1px;< / span > < / span >
< span > < span class = "co" > #> border-right-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> vertical-align: middle;< / span > < / span >
< span > < span class = "co" > #> overflow-x: hidden;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_stub {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> color: #333333;< / span > < / span >
< span > < span class = "co" > #> background-color: #FFFFFF;< / span > < / span >
< span > < span class = "co" > #> font-size: 100%;< / span > < / span >
< span > < span class = "co" > #> font-weight: initial;< / span > < / span >
< span > < span class = "co" > #> text-transform: inherit;< / span > < / span >
< span > < span class = "co" > #> border-right-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-right-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-right-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> padding-left: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-right: 5px;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_stub_row_group {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> color: #333333;< / span > < / span >
< span > < span class = "co" > #> background-color: #FFFFFF;< / span > < / span >
< span > < span class = "co" > #> font-size: 100%;< / span > < / span >
< span > < span class = "co" > #> font-weight: initial;< / span > < / span >
< span > < span class = "co" > #> text-transform: inherit;< / span > < / span >
< span > < span class = "co" > #> border-right-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-right-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-right-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> padding-left: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-right: 5px;< / span > < / span >
< span > < span class = "co" > #> vertical-align: top;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_row_group_first td {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> border-top-width: 2px;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_row_group_first th {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> border-top-width: 2px;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_summary_row {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> color: #333333;< / span > < / span >
< span > < span class = "co" > #> background-color: #FFFFFF;< / span > < / span >
< span > < span class = "co" > #> text-transform: inherit;< / span > < / span >
< span > < span class = "co" > #> padding-top: 8px;< / span > < / span >
< span > < span class = "co" > #> padding-bottom: 8px;< / span > < / span >
< span > < span class = "co" > #> padding-left: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-right: 5px;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_first_summary_row {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> border-top-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-top-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_first_summary_row.thick {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> border-top-width: 2px;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_last_summary_row {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> padding-top: 8px;< / span > < / span >
< span > < span class = "co" > #> padding-bottom: 8px;< / span > < / span >
< span > < span class = "co" > #> padding-left: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-right: 5px;< / span > < / span >
< span > < span class = "co" > #> border-bottom-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-bottom-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-bottom-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_grand_summary_row {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> color: #333333;< / span > < / span >
< span > < span class = "co" > #> background-color: #FFFFFF;< / span > < / span >
< span > < span class = "co" > #> text-transform: inherit;< / span > < / span >
< span > < span class = "co" > #> padding-top: 8px;< / span > < / span >
< span > < span class = "co" > #> padding-bottom: 8px;< / span > < / span >
< span > < span class = "co" > #> padding-left: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-right: 5px;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_first_grand_summary_row {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> padding-top: 8px;< / span > < / span >
< span > < span class = "co" > #> padding-bottom: 8px;< / span > < / span >
< span > < span class = "co" > #> padding-left: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-right: 5px;< / span > < / span >
< span > < span class = "co" > #> border-top-style: double;< / span > < / span >
< span > < span class = "co" > #> border-top-width: 6px;< / span > < / span >
< span > < span class = "co" > #> border-top-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_last_grand_summary_row_top {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> padding-top: 8px;< / span > < / span >
< span > < span class = "co" > #> padding-bottom: 8px;< / span > < / span >
< span > < span class = "co" > #> padding-left: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-right: 5px;< / span > < / span >
< span > < span class = "co" > #> border-bottom-style: double;< / span > < / span >
< span > < span class = "co" > #> border-bottom-width: 6px;< / span > < / span >
< span > < span class = "co" > #> border-bottom-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_striped {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> background-color: rgba(128, 128, 128, 0.05);< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_table_body {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> border-top-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-top-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-top-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-bottom-style: solid;< / span > < / span >
< span > < span class = "co" > #> border-bottom-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-bottom-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_footnotes {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> color: #333333;< / span > < / span >
< span > < span class = "co" > #> background-color: #FFFFFF;< / span > < / span >
< span > < span class = "co" > #> border-bottom-style: none;< / span > < / span >
< span > < span class = "co" > #> border-bottom-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-bottom-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-left-style: none;< / span > < / span >
< span > < span class = "co" > #> border-left-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-left-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-right-style: none;< / span > < / span >
< span > < span class = "co" > #> border-right-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-right-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_footnote {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> margin: 0px;< / span > < / span >
< span > < span class = "co" > #> font-size: 90%;< / span > < / span >
< span > < span class = "co" > #> padding-top: 4px;< / span > < / span >
< span > < span class = "co" > #> padding-bottom: 4px;< / span > < / span >
< span > < span class = "co" > #> padding-left: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-right: 5px;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_sourcenotes {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> color: #333333;< / span > < / span >
< span > < span class = "co" > #> background-color: #FFFFFF;< / span > < / span >
< span > < span class = "co" > #> border-bottom-style: none;< / span > < / span >
< span > < span class = "co" > #> border-bottom-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-bottom-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-left-style: none;< / span > < / span >
< span > < span class = "co" > #> border-left-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-left-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> border-right-style: none;< / span > < / span >
< span > < span class = "co" > #> border-right-width: 2px;< / span > < / span >
< span > < span class = "co" > #> border-right-color: #D3D3D3;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_sourcenote {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> font-size: 90%;< / span > < / span >
< span > < span class = "co" > #> padding-top: 4px;< / span > < / span >
< span > < span class = "co" > #> padding-bottom: 4px;< / span > < / span >
< span > < span class = "co" > #> padding-left: 5px;< / span > < / span >
< span > < span class = "co" > #> padding-right: 5px;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_left {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> text-align: left;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_center {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> text-align: center;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_right {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> text-align: right;< / span > < / span >
< span > < span class = "co" > #> font-variant-numeric: tabular-nums;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_font_normal {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> font-weight: normal;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_font_bold {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> font-weight: bold;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_font_italic {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> font-style: italic;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_super {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> font-size: 65%;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_footnote_marks {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> font-size: 75%;< / span > < / span >
< span > < span class = "co" > #> vertical-align: 0.4em;< / span > < / span >
< span > < span class = "co" > #> position: initial;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_asterisk {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> font-size: 100%;< / span > < / span >
< span > < span class = "co" > #> vertical-align: 0;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_indent_1 {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> text-indent: 5px;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_indent_2 {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> text-indent: 10px;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_indent_3 {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> text-indent: 15px;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_indent_4 {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> text-indent: 20px;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> #mwlefoodfi .gt_indent_5 {< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> text-indent: 25px;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> #mwlefoodfi .katex-display {< / span > < / span >
< span > < span class = "co" > #> display: inline-flex !important;< / span > < / span >
< span > < span class = "co" > #> margin-bottom: 0.75em !important;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> #mwlefoodfi div.Reactable > div.rt-table > div.rt-thead > div.rt-tr.rt-tr-group-header > div.rt-th-group:after {< / span > < / span >
< span > < span class = "co" > #> height: 0px !important;< / span > < / span >
< span > < span class = "co" > #> }< / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> < /style> < / span > < / span >
< span > < span class = "co" > #> < table class="gt_table" data-quarto-disable-processing="false" data-quarto-bootstrap="false"> < / span > < / span >
< span > < span class = "co" > #> < thead> < / span > < / span >
< span > < span class = "co" > #> < tr class="gt_col_headings"> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> < th class="gt_col_heading gt_columns_bottom_border gt_left" rowspan="1" colspan="1" scope="col" id="label"> < span class='gt_from_md'> < strong> Characteristic< /strong> < /span> < /th> < / span > < / span >
< span > < span class = "co" > #> < th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="stat_0"> < span class='gt_from_md'> < strong> Overall< /strong> < br /> < / span > < / span >
< span > < span class = "co" > #> N = 200< /span> < span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;line-height:0;"> < sup> 1< /sup> < /span> < /th> < / span > < / span >
< span > < span class = "co" > #> < th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="stat_1"> < span class='gt_from_md'> < strong> Active< /strong> < br /> < / span > < / span >
< span > < span class = "co" > #> N = 79< /span> < span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;line-height:0;"> < sup> 1< /sup> < /span> < /th> < / span > < / span >
< span > < span class = "co" > #> < th class="gt_col_heading gt_columns_bottom_border gt_center" rowspan="1" colspan="1" scope="col" id="stat_2"> < span class='gt_from_md'> < strong> Placebo< /strong> < br /> < / span > < / span >
< span > < span class = "co" > #> N = 121< /span> < span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;line-height:0;"> < sup> 1< /sup> < /span> < /th> < / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> < /tr> < / span > < / span >
< span > < span class = "co" > #> < /thead> < / span > < / span >
< span > < span class = "co" > #> < tbody class="gt_table_body"> < / span > < / span >
< span > < span class = "co" > #> < tr> < td headers="label" class="gt_row gt_left"> hypertension< /td> < / span > < / span >
< span > < span class = "co" > #> < td headers="stat_0" class="gt_row gt_center"> 101 (51%)< /td> < / span > < / span >
< span > < span class = "co" > #> < td headers="stat_1" class="gt_row gt_center"> 38 (48%)< /td> < / span > < / span >
< span > < span class = "co" > #> < td headers="stat_2" class="gt_row gt_center"> 63 (52%)< /td> < /tr> < / span > < / span >
< span > < span class = "co" > #> < tr> < td headers="label" class="gt_row gt_left"> diabetes< /td> < / span > < / span >
< span > < span class = "co" > #> < td headers="stat_0" class="gt_row gt_center"> 23 (12%)< /td> < / span > < / span >
< span > < span class = "co" > #> < td headers="stat_1" class="gt_row gt_center"> 9 (11%)< /td> < / span > < / span >
< span > < span class = "co" > #> < td headers="stat_2" class="gt_row gt_center"> 14 (12%)< /td> < /tr> < / span > < / span >
< span > < span class = "co" > #> < tr> < td headers="label" class="gt_row gt_left"> civil< /td> < / span > < / span >
2024-02-09 09:30:37 +01:00
< span > < span class = "co" > #> < td headers="stat_0" class="gt_row gt_center"> < br /> < /td> < / span > < / span >
< span > < span class = "co" > #> < td headers="stat_1" class="gt_row gt_center"> < br /> < /td> < / span > < / span >
< span > < span class = "co" > #> < td headers="stat_2" class="gt_row gt_center"> < br /> < /td> < /tr> < / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> < tr> < td headers="label" class="gt_row gt_left"> alone< /td> < / span > < / span >
< span > < span class = "co" > #> < td headers="stat_0" class="gt_row gt_center"> 59 (30%)< /td> < / span > < / span >
< span > < span class = "co" > #> < td headers="stat_1" class="gt_row gt_center"> 22 (28%)< /td> < / span > < / span >
< span > < span class = "co" > #> < td headers="stat_2" class="gt_row gt_center"> 37 (31%)< /td> < /tr> < / span > < / span >
< span > < span class = "co" > #> < tr> < td headers="label" class="gt_row gt_left"> partner< /td> < / span > < / span >
< span > < span class = "co" > #> < td headers="stat_0" class="gt_row gt_center"> 141 (71%)< /td> < / span > < / span >
< span > < span class = "co" > #> < td headers="stat_1" class="gt_row gt_center"> 57 (72%)< /td> < / span > < / span >
< span > < span class = "co" > #> < td headers="stat_2" class="gt_row gt_center"> 84 (69%)< /td> < /tr> < / span > < / span >
< span > < span class = "co" > #> < /tbody> < / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> < tfoot class="gt_footnotes"> < / span > < / span >
< span > < span class = "co" > #> < tr> < / span > < / span >
2024-10-10 14:22:20 +02:00
< span > < span class = "co" > #> < td class="gt_footnote" colspan="4"> < span class="gt_footnote_marks" style="white-space:nowrap;font-style:italic;font-weight:normal;line-height:0;"> < sup> 1< /sup> < /span> < span class='gt_from_md'> n (%)< /span> < /td> < / span > < / span >
2023-06-30 10:04:32 +02:00
< span > < span class = "co" > #> < /tr> < / span > < / span >
< span > < span class = "co" > #> < /tfoot> < / span > < / span >
< span > < span class = "co" > #> < /table> < / span > < / span >
< span > < span class = "co" > #> < /div> < / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> $`Figure 1`< / span > < / span > < / code > < / pre > < / div >
< p > < img src = "toolbox_files/figure-html/generic_stroke-example-1.png" width = "700" > < / p >
< pre > < code > < span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> $`Figure 2`< / span > < / span > < / code > < / pre >
< p > < img src = "toolbox_files/figure-html/generic_stroke-example-2.png" width = "700" > < / p >
< / div >
< div class = "section level4" >
< h4 id = "index_plot" > index_plot()< a class = "anchor" aria-label = "anchor" href = "#index_plot" > < / a >
< / h4 >
< p > Used for plotting scores from a multi dimensional patient test.< / p >
< div class = "sourceCode" id = "cb9" > < pre class = "downlit sourceCode r" >
< code class = "sourceCode R" > < span > < span class = "fu" > < a href = "../reference/index_plot.html" > index_plot< / a > < / span > < span class = "op" > (< / span > < span class = "fu" > stRoke< / span > < span class = "fu" > ::< / span > < span class = "va" > < a href = "../reference/score.html" > score< / a > < / span > < span class = "op" > [< / span > < span class = "va" > score< / span > < span class = "op" > $< / span > < span class = "va" > event< / span > < span class = "op" > ==< / span > < span class = "st" > "A"< / span > , < span class = "op" > ]< / span > < span class = "op" > )< / span > < / span > < / code > < / pre > < / div >
< p > < img src = "toolbox_files/figure-html/index_plot-example-1.png" width = "700" > < / p >
< / div >
< div class = "section level4" >
< h4 id = "win_prob" > win_prob()< a class = "anchor" aria-label = "anchor" href = "#win_prob" > < / a >
< / h4 >
< p > The < code > < a href = "../reference/win_prob.html" > win_prob()< / a > < / code > is an implementation of the Tournament
Method for calculating the probability of winning as suggested by < a href = "https://doi.org/10.1161/STROKEAHA.121.037744" class = "external-link" > Zou et al 2022< / a > .
The authors has included a spreadsheet as supplementary materials. This
function aims to mimic that functionality. The function also includes a
< code > < a href = "https://rdrr.io/r/base/print.html" class = "external-link" > print()< / a > < / code > extension for nice printing.< / p >
< div class = "sourceCode" id = "cb10" > < pre class = "downlit sourceCode r" >
< code class = "sourceCode R" > < span > < span class = "fu" > < a href = "../reference/win_prob.html" > win_prob< / a > < / span > < span class = "op" > (< / span > < / span >
< span > data < span class = "op" > =< / span > < span class = "fu" > stRoke< / span > < span class = "fu" > ::< / span > < span class = "va" > < a href = "../reference/talos.html" > talos< / a > < / span > ,< / span >
< span > response < span class = "op" > =< / span > < span class = "st" > "mrs_6"< / span > ,< / span >
< span > group < span class = "op" > =< / span > < span class = "st" > "rtreat"< / span > ,< / span >
< span > sample.size < span class = "op" > =< / span > < span class = "cn" > TRUE< / span > ,< / span >
< span > print.tables < span class = "op" > =< / span > < span class = "cn" > TRUE< / span > < / span >
< span > < span class = "op" > )< / span > < / span >
< span > < span class = "co" > #> Zou et al's winP (doi: 10.1161/STROKEAHA.121.037744) < / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> Probability of a random observation in Placebo group < / span > < / span >
< span > < span class = "co" > #> will have a higher response score than a random< / span > < / span >
< span > < span class = "co" > #> observation in Active group:< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> winP: 0.400 (0.612, 0.372) p=0.0125< / span > < / span >
< span > < span class = "co" > #> --------------------------------------------< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> The numbers needed to treat (NNT) are: -9< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> --------------------------------------------< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> With Active/Placebo ratio = 1 and beta = 0.2< / span > < / span >
< span > < span class = "co" > #> the sample size needed is: 238< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> --------------------------------------------< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> Results for the Active group:< / span > < / span >
< span > < span class = "co" > #> |mrs_6 | Freq| prop| overall_rank| rank| win_frac|< / span > < / span >
< span > < span class = "co" > #> |:-----|----:|-----:|------------:|----:|--------:|< / span > < / span >
< span > < span class = "co" > #> |0 | 14| 0.177| 175.0| 72.5| 0.847|< / span > < / span >
< span > < span class = "co" > #> |1 | 29| 0.367| 113.5| 51.0| 0.517|< / span > < / span >
< span > < span class = "co" > #> |2 | 22| 0.278| 49.0| 25.5| 0.194|< / span > < / span >
< span > < span class = "co" > #> |3 | 9| 0.114| 15.0| 10.0| 0.041|< / span > < / span >
< span > < span class = "co" > #> |4 | 3| 0.038| 7.0| 4.0| 0.025|< / span > < / span >
< span > < span class = "co" > #> |6 | 2| 0.025| 2.5| 1.5| 0.008|< / span > < / span >
< span > < span class = "co" > #> < / span > < / span >
< span > < span class = "co" > #> Results for the Placebo group:< / span > < / span >
< span > < span class = "co" > #> |mrs_6 | Freq| prop| overall_rank| rank| win_frac|< / span > < / span >
< span > < span class = "co" > #> |:-----|----:|-----:|------------:|-----:|--------:|< / span > < / span >
< span > < span class = "co" > #> |0 | 37| 0.306| 175.0| 103.0| 0.911|< / span > < / span >
< span > < span class = "co" > #> |1 | 43| 0.355| 113.5| 63.0| 0.639|< / span > < / span >
< span > < span class = "co" > #> |2 | 35| 0.289| 49.0| 24.0| 0.316|< / span > < / span >
< span > < span class = "co" > #> |3 | 2| 0.017| 15.0| 5.5| 0.120|< / span > < / span >
< span > < span class = "co" > #> |4 | 2| 0.017| 7.0| 3.5| 0.044|< / span > < / span >
< span > < span class = "co" > #> |6 | 2| 0.017| 2.5| 1.5| 0.013|< / span > < / span > < / code > < / pre > < / div >
< / div >
< / div >
< / div >
2024-10-10 14:22:20 +02:00
< / main > < aside class = "col-md-3" > < nav id = "toc" aria-label = "Table of contents" > < h2 > On this page< / h2 >
2023-06-30 10:04:32 +02:00
< / nav > < / aside >
< / div >
< footer > < div class = "pkgdown-footer-left" >
2024-10-10 14:22:20 +02:00
< p > Developed by Andreas Gammelgaard Damsbo.< / p >
2023-06-30 10:04:32 +02:00
< / div >
< div class = "pkgdown-footer-right" >
2024-10-10 14:22:20 +02:00
< p > Site built with < a href = "https://pkgdown.r-lib.org/" class = "external-link" > pkgdown< / a > 2.1.1.< / p >
2023-06-30 10:04:32 +02:00
< / div >
< / footer >
< / div >
2024-10-10 14:22:20 +02:00
2023-06-30 10:04:32 +02:00
< / body >
< / html >