Compare commits

...

9 Commits

Author SHA1 Message Date
AG Damsbo
ba1e1054ec minor updates 2023-01-03 14:21:24 +01:00
Andreas Gammelgaard Damsbo
766f2573c8
Delete .DS_Store 2023-01-03 14:16:57 +01:00
Andreas Gammelgaard Damsbo
defd268cc7
Delete logo.R 2023-01-03 14:15:53 +01:00
Andreas Gammelgaard Damsbo
7b7356add7
Delete ver_upd.R 2023-01-03 14:15:28 +01:00
AG Damsbo
5f430971c7 new ignore 2023-01-03 14:15:16 +01:00
AG Damsbo
505a3cf2e0 new version 2023-01-03 14:13:22 +01:00
AG Damsbo
2f221f216a new documention with gpttools 2023-01-03 14:13:06 +01:00
AG Damsbo
6098335cea New tests with help from gpttools 2023-01-03 14:12:29 +01:00
AG Damsbo
0cee325112 New documentation using gpttools 2023-01-03 14:12:12 +01:00
35 changed files with 213 additions and 200 deletions

BIN
.DS_Store vendored

Binary file not shown.

5
.gitignore vendored
View File

@ -51,5 +51,10 @@ rsconnect/
setup_help.R
logo.R
ver_upd.R
data/*.R
.Renviron
.Rbuildignore

View File

@ -1,6 +1,6 @@
Package: stRoke
Title: Clinical stroke research toolbox
Version: 0.22.12.4
Version: 0.23.1.1
Authors@R:
person("Andreas Gammelgaard", "Damsbo", , "agdamsbo@clin.au.dk", role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-7559-1154"))

View File

@ -1,20 +1,24 @@
#' Calculating age from date of birth
#' Calculate age in years, months, or days
#'
#' For age calculations. Vectorised.
#' @param dob Date of birth. Data format follows standard POSIX layout. Format is yyyy-mm-dd.
#' @param enddate Date to calculate age at. Format is yyyy-mm-dd.
#' @param units Default is "years". Can be changed to "days".
#' @param precise Default is TRUE. Flag set whether to include calculations of spring years. Only of matter if using units = "days".
#' @keywords age
#'
#' @return Vector of age
#' @param dob Date of birth
#' @param enddate End date for age calculation (default is Sys.Date())
#' @param units Units for age calculation (default is "years").
#' Can be c("days", "months", "years")
#' @param precise Option to calculate age precisely (default is TRUE)
#' @return Age
#' @export
#'
#' @examples
#' age_calc(dob = as.Date("1995-04-25"), enddate = as.Date("2020-04-25"), units = "years")
#' # Kim Larsen (cpr is known from album)
#' dob<-as.Date("1945-10-23")
#' date<-as.Date("2018-09-30")
#' trunc(age_calc(dob,date))
#' @references
#' Becker, J.P. (2020). eeptools: An R Package for Teaching and Learning Ecology and Evolutionary Biology. Journal of Statistical Software, 93(2), 1-27. doi: 10.18637/jss.v093.i02
#'
#' @seealso \code{\link[lubridate]{time_length}}
#' @keywords date time age
age_calc<-function (dob, enddate = Sys.Date(), units = "years", precise = TRUE)
## Build upon the work of Jason P. Becker, as part of the eeptools

View File

@ -25,6 +25,9 @@ utils::globalVariables(c("df","group","score","strata"))
#' generic_stroke(stRoke::talos, "rtreat", "mrs_6", variables = c("hypertension","diabetes","civil"))
generic_stroke <- function(df, group, score, strata = NULL, variables = NULL)
{
# if (!is.factor(df[,group])){
# df[,group] <- factor(df[,group])
# }
t1<-gtsummary::tbl_summary(data = df[,c(group,variables)],
by = group) |>
gtsummary::add_overall()

View File

@ -5,12 +5,15 @@
# stRoke package <img src="man/figures/hexlogo.png" align="right" />
This package contains tools used for my (Andreas) research work and for the ENIGMA project.
Please use the package or grab bits of the functions. Mind the licensing.
This is an R-toolbox of custom functions for convenient data management and analysis in clinical health research and teaching.
The package is mainly collected for personal use, but any use beyond that is encouraged.
This package has migrated functions from the agdamsbo/daDoctoR-package, and new functions has been added.
# A few notes
The function `generic_stroke()`can be used with `data(talos)` or a custom data set to illustrate the classic analysis of mRS outcome from stroke trials.
In documenting and testing the package, I have used [OpenAI's](https://beta.openai.com/overview) chatgpt with [gpttools](https://jameshwade.github.io/gpttools/). The chatgpt is an interesting tool, that is in no way perfect, but it helps with tedious tasks. Both `gpttools` and [`gptstudio`](https://michelnivard.github.io/gptstudio/) are interesting implementations in R and RStudio.
# Source
This package is [shared on GitHub](https://github.com/agdamsbo/stRoke), and you are very welcome to contribute by opening an issue or a pull request.

View File

@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">

View File

@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">
@ -53,14 +53,14 @@
<h2 id="citation">Citation</h2>
<p><small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/HEAD/DESCRIPTION" class="external-link"><code>DESCRIPTION</code></a></small></p>
<p>Damsbo A (2022).
<p>Damsbo A (2023).
<em>stRoke: Clinical stroke research toolbox</em>.
https://agdamsbo.github.io/stRoke/, https://github.com/agdamsbo/stRoke, https://agdamsbo.github.io/neuRo-group/.
</p>
<pre>@Manual{,
title = {stRoke: Clinical stroke research toolbox},
author = {Andreas Gammelgaard Damsbo},
year = {2022},
year = {2023},
note = {https://agdamsbo.github.io/stRoke/, https://github.com/agdamsbo/stRoke, https://agdamsbo.github.io/neuRo-group/},
}</pre>
</div>

View File

@ -32,7 +32,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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">
@ -67,13 +67,13 @@
<div class="section level1">
<div class="page-header"><h1 id="stroke-package-">stRoke package <img src="reference/figures/hexlogo.png" align="right"><a class="anchor" aria-label="anchor" href="#stroke-package-"></a>
</h1></div>
<p>This package contains tools used for my (Andreas) research work and for the ENIGMA project.<br>
Please use the package or grab bits of the functions. Mind the licensing.</p>
<p>This is an R-toolbox of custom functions for convenient data management and analysis in clinical health research and teaching. The package is mainly collected for personal use, but any use beyond that is encouraged. This package has migrated functions from the agdamsbo/daDoctoR-package, and new functions has been added.</p>
</div>
<div class="section level1">
<h1 id="a-few-notes">A few notes<a class="anchor" aria-label="anchor" href="#a-few-notes"></a>
</h1>
<p>The function <code><a href="reference/generic_stroke.html">generic_stroke()</a></code>can be used with <code>data(talos)</code> or a custom data set to illustrate the classic analysis of mRS outcome from stroke trials.</p>
<p>In documenting and testing the package, I have used <a href="https://beta.openai.com/overview" class="external-link">OpenAIs</a> chatgpt with <a href="https://jameshwade.github.io/gpttools/" class="external-link">gpttools</a>. The chatgpt is an interesting tool, that is in no way perfect, but it helps with tedious tasks. Both <code>gpttools</code> and <a href="https://michelnivard.github.io/gptstudio/" class="external-link"><code>gptstudio</code></a> are interesting implementations in R and RStudio.</p>
</div>
<div class="section level1">
<h1 id="source">Source<a class="anchor" aria-label="anchor" href="#source"></a>

View File

@ -2,5 +2,5 @@ pandoc: 2.19.2
pkgdown: 2.0.7
pkgdown_sha: ~
articles: {}
last_built: 2022-12-22T14:06Z
last_built: 2023-01-03T13:19Z

View File

@ -1,5 +1,5 @@
<!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="For age calculations. Vectorised."><title>Calculating age from date of birth — age_calc • 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.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculating age from date of birth — age_calc"><meta property="og:description" content="For age calculations. Vectorised."><!-- 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]>
<!-- 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="Calculate age in years, months, or days"><title>Calculate age in years, months, or days — age_calc • 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.jsdelivr.net/gh/afeld/bootstrap-toc@v1.0.1/dist/bootstrap-toc.min.js" integrity="sha256-4veVQbu7//Lk5TSmc7YV48MxtMy98e26cf5MrgZYnwo=" crossorigin="anonymous"></script><!-- headroom.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/headroom.min.js" integrity="sha256-AsUX4SJE1+yuDu5+mAVzJbuYNPHj/WroHuZ8Ir/CkE0=" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/headroom/0.11.0/jQuery.headroom.min.js" integrity="sha256-ZX/yNShbjqsohH1k95liqY9Gd8uOiE1S4vZc+9KQ1K4=" crossorigin="anonymous"></script><!-- clipboard.js --><script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js" integrity="sha256-inc5kl9MA1hkeYUt+EC3BhlIgyp/2jDIyBLS6k3UxPI=" crossorigin="anonymous"></script><!-- search --><script src="https://cdnjs.cloudflare.com/ajax/libs/fuse.js/6.4.6/fuse.js" integrity="sha512-zv6Ywkjyktsohkbp9bb45V6tEMoWhzFzXis+LrMehmJZZSys19Yxf1dopHx7WzIKxr5tK2dVcYmaCk2uqdjF4A==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.38.0/autocomplete.jquery.min.js" integrity="sha512-GU9ayf+66Xx2TmpxqJpliWbT5PiGYxpaG8rfnBEk1LL8l1KGkRShhngwdXK1UgqhAzWpZHSiYPc09/NwDQIGyg==" crossorigin="anonymous"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/mark.min.js" integrity="sha512-5CYOlHXGh6QpOFA/TeTylKLWfB3ftPsde7AnmhuitiTX4K5SqCLBeKro6sPS8ilsz1Q4NRx3v8Ko2IBiszzdww==" crossorigin="anonymous"></script><!-- pkgdown --><script src="../pkgdown.js"></script><meta property="og:title" content="Calculate age in years, months, or days — age_calc"><meta property="og:description" content="Calculate age in years, months, or days"><!-- 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>
@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">
@ -37,13 +37,13 @@
</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>Calculating age from date of birth</h1>
<img src="" class="logo" alt=""><h1>Calculate age in years, months, or days</h1>
<small class="dont-index">Source: <a href="https://github.com/agdamsbo/stRoke/blob/HEAD/R/age_calc.R" class="external-link"><code>R/age_calc.R</code></a></small>
<div class="d-none name"><code>age_calc.Rd</code></div>
</div>
<div class="ref-description section level2">
<p>For age calculations. Vectorised.</p>
<p>Calculate age in years, months, or days</p>
</div>
<div class="section level2">
@ -54,31 +54,42 @@
<div class="section level2">
<h2 id="arguments">Arguments<a class="anchor" aria-label="anchor" href="#arguments"></a></h2>
<dl><dt>dob</dt>
<dd><p>Date of birth. Data format follows standard POSIX layout. Format is yyyy-mm-dd.</p></dd>
<dd><p>Date of birth</p></dd>
<dt>enddate</dt>
<dd><p>Date to calculate age at. Format is yyyy-mm-dd.</p></dd>
<dd><p>End date for age calculation (default is Sys.Date())</p></dd>
<dt>units</dt>
<dd><p>Default is "years". Can be changed to "days".</p></dd>
<dd><p>Units for age calculation (default is "years").
Can be c("days", "months", "years")</p></dd>
<dt>precise</dt>
<dd><p>Default is TRUE. Flag set whether to include calculations of spring years. Only of matter if using units = "days".</p></dd>
<dd><p>Option to calculate age precisely (default is TRUE)</p></dd>
</dl></div>
<div class="section level2">
<h2 id="value">Value<a class="anchor" aria-label="anchor" href="#value"></a></h2>
<p>Vector of age</p>
<p>Age</p>
</div>
<div class="section level2">
<h2 id="references">References<a class="anchor" aria-label="anchor" href="#references"></a></h2>
<p>Becker, J.P. (2020). eeptools: An R Package for Teaching and Learning Ecology and Evolutionary Biology. Journal of Statistical Software, 93(2), 1-27. doi: 10.18637/jss.v093.i02</p>
</div>
<div class="section level2">
<h2 id="see-also">See also<a class="anchor" aria-label="anchor" href="#see-also"></a></h2>
<div class="dont-index"><p><code><a href="https://lubridate.tidyverse.org/reference/time_length.html" class="external-link">time_length</a></code></p></div>
</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="co"># Kim Larsen (cpr is known from album)</span></span></span>
<div class="sourceCode"><pre class="sourceCode r"><code><span class="r-in"><span><span class="fu">age_calc</span><span class="op">(</span>dob <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">"1995-04-25"</span><span class="op">)</span>, enddate <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">"2020-04-25"</span><span class="op">)</span>, units <span class="op">=</span> <span class="st">"years"</span><span class="op">)</span></span></span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1] 25</span>
<span class="r-in"><span><span class="co"># Kim Larsen (cpr is known from album)</span></span></span>
<span class="r-in"><span> <span class="va">dob</span><span class="op">&lt;-</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></span>
<span class="r-in"><span> <span class="va">date</span><span class="op">&lt;-</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></span>
<span class="r-in"><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="fu">age_calc</span><span class="op">(</span><span class="va">dob</span>,<span class="va">date</span><span class="op">)</span><span class="op">)</span></span></span>

View File

@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">

View File

@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">

View File

@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">

View File

@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">

View File

@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">

View File

@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">
@ -91,12 +91,12 @@ To dos: modify grottaBar and include as own function.</p>
<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">#&gt;</span> Waiting for profiling to be done...</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> $`Table 1`</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> &lt;div id="vnqczltxkw" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;"&gt;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> &lt;div id="kemioijfzc" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;"&gt;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> &lt;style&gt;html {</span>
<span class="r-out co"><span class="r-pr">#&gt;</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">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_table {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_table {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> display: table;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-collapse: collapse;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> margin-left: auto;</span>
@ -121,7 +121,7 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-left-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_heading {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_heading {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-align: center;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-color: #FFFFFF;</span>
@ -133,12 +133,12 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-right-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_caption {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_caption {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-top: 4px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-bottom: 4px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_title {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_title {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 125%;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-weight: initial;</span>
@ -150,7 +150,7 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-width: 0;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_subtitle {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_subtitle {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 85%;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-weight: initial;</span>
@ -162,13 +162,13 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-width: 0;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_bottom_border {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_bottom_border {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-style: solid;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-width: 2px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_col_headings {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_col_headings {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-style: solid;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-width: 2px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-color: #D3D3D3;</span>
@ -183,7 +183,7 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-right-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_col_heading {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_col_heading {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 100%;</span>
@ -203,7 +203,7 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> overflow-x: hidden;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_column_spanner_outer {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_column_spanner_outer {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 100%;</span>
@ -215,15 +215,15 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-right: 4px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_column_spanner_outer:first-child {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_column_spanner_outer:first-child {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-left: 0;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_column_spanner_outer:last-child {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_column_spanner_outer:last-child {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-right: 0;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_column_spanner {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_column_spanner {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-style: solid;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-width: 2px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-color: #D3D3D3;</span>
@ -235,7 +235,7 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> width: 100%;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_group_heading {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_group_heading {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-top: 8px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-bottom: 8px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-left: 5px;</span>
@ -261,7 +261,7 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-align: left;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_empty_group_heading {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_empty_group_heading {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding: 0.5px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
@ -276,15 +276,15 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> vertical-align: middle;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_from_md &gt; :first-child {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_from_md &gt; :first-child {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> margin-top: 0;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_from_md &gt; :last-child {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_from_md &gt; :last-child {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> margin-bottom: 0;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-top: 8px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-bottom: 8px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-left: 5px;</span>
@ -303,7 +303,7 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> overflow-x: hidden;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_stub {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_stub {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 100%;</span>
@ -316,7 +316,7 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-right: 5px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_stub_row_group {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_stub_row_group {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 100%;</span>
@ -330,11 +330,11 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> vertical-align: top;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_row_group_first td {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_row_group_first td {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-width: 2px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-transform: inherit;</span>
@ -344,16 +344,16 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-right: 5px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_first_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_first_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-style: solid;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_first_summary_row.thick {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_first_summary_row.thick {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-width: 2px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_last_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_last_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-top: 8px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-bottom: 8px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-left: 5px;</span>
@ -363,7 +363,7 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_grand_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_grand_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-transform: inherit;</span>
@ -373,7 +373,7 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-right: 5px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_first_grand_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_first_grand_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-top: 8px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-bottom: 8px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-left: 5px;</span>
@ -383,11 +383,11 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_striped {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_striped {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: rgba(128, 128, 128, 0.05);</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_table_body {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_table_body {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-style: solid;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-width: 2px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-color: #D3D3D3;</span>
@ -396,7 +396,7 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_footnotes {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_footnotes {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-style: none;</span>
@ -410,7 +410,7 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-right-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_footnote {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_footnote {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> margin: 0px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 90%;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-left: 4px;</span>
@ -419,7 +419,7 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-right: 5px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_sourcenotes {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_sourcenotes {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-style: none;</span>
@ -433,7 +433,7 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-right-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_sourcenote {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_sourcenote {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 90%;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-top: 4px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-bottom: 4px;</span>
@ -441,64 +441,64 @@ To dos: modify grottaBar and include as own function.</p>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-right: 5px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_left {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_left {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-align: left;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_center {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_center {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-align: center;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_right {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_right {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-align: right;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-variant-numeric: tabular-nums;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_font_normal {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_font_normal {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-weight: normal;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_font_bold {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_font_bold {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-weight: bold;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_font_italic {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_font_italic {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-style: italic;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_super {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_super {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 65%;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_footnote_marks {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_footnote_marks {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-style: italic;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-weight: normal;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 75%;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> vertical-align: 0.4em;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_asterisk {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_asterisk {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 100%;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> vertical-align: 0;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_indent_1 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_indent_1 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-indent: 5px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_indent_2 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_indent_2 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-indent: 10px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_indent_3 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_indent_3 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-indent: 15px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_indent_4 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_indent_4 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-indent: 20px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #vnqczltxkw .gt_indent_5 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kemioijfzc .gt_indent_5 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-indent: 25px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> &lt;/style&gt;</span>

View File

@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">
@ -55,7 +55,7 @@
<code><a href="age_calc.html">age_calc()</a></code>
</dt>
<dd>Calculating age from date of birth</dd>
<dd>Calculate age in years, months, or days</dd>
</dl><dl><dt>
<code><a href="ci_plot.html">ci_plot()</a></code>

View File

@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">

View File

@ -12,7 +12,7 @@ Alternative is to use attributes, eg from library(Hmisc).'><!-- mathjax --><scri
<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.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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,12 +82,12 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<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">|&gt;</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">#&gt;</span> &lt;div id="kusfxlckhd" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;"&gt;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> &lt;div id="bliypdzlhg" style="padding-left:0px;padding-right:0px;padding-top:10px;padding-bottom:10px;overflow-x:auto;overflow-y:auto;width:auto;height:auto;"&gt;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> &lt;style&gt;html {</span>
<span class="r-out co"><span class="r-pr">#&gt;</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">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_table {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_table {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> display: table;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-collapse: collapse;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> margin-left: auto;</span>
@ -112,7 +112,7 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> border-left-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_heading {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_heading {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-align: center;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-color: #FFFFFF;</span>
@ -124,12 +124,12 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> border-right-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_caption {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_caption {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-top: 4px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-bottom: 4px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_title {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_title {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 125%;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-weight: initial;</span>
@ -141,7 +141,7 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-width: 0;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_subtitle {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_subtitle {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 85%;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-weight: initial;</span>
@ -153,13 +153,13 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-width: 0;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_bottom_border {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_bottom_border {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-style: solid;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-width: 2px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_col_headings {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_col_headings {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-style: solid;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-width: 2px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-color: #D3D3D3;</span>
@ -174,7 +174,7 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> border-right-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_col_heading {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_col_heading {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 100%;</span>
@ -194,7 +194,7 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> overflow-x: hidden;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_column_spanner_outer {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_column_spanner_outer {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 100%;</span>
@ -206,15 +206,15 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-right: 4px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_column_spanner_outer:first-child {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_column_spanner_outer:first-child {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-left: 0;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_column_spanner_outer:last-child {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_column_spanner_outer:last-child {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-right: 0;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_column_spanner {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_column_spanner {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-style: solid;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-width: 2px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-color: #D3D3D3;</span>
@ -226,7 +226,7 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> width: 100%;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_group_heading {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_group_heading {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-top: 8px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-bottom: 8px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-left: 5px;</span>
@ -252,7 +252,7 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> text-align: left;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_empty_group_heading {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_empty_group_heading {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding: 0.5px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
@ -267,15 +267,15 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> vertical-align: middle;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_from_md &gt; :first-child {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_from_md &gt; :first-child {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> margin-top: 0;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_from_md &gt; :last-child {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_from_md &gt; :last-child {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> margin-bottom: 0;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-top: 8px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-bottom: 8px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-left: 5px;</span>
@ -294,7 +294,7 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> overflow-x: hidden;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_stub {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_stub {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 100%;</span>
@ -307,7 +307,7 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-right: 5px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_stub_row_group {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_stub_row_group {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 100%;</span>
@ -321,11 +321,11 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> vertical-align: top;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_row_group_first td {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_row_group_first td {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-width: 2px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-transform: inherit;</span>
@ -335,16 +335,16 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-right: 5px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_first_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_first_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-style: solid;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_first_summary_row.thick {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_first_summary_row.thick {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-width: 2px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_last_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_last_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-top: 8px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-bottom: 8px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-left: 5px;</span>
@ -354,7 +354,7 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_grand_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_grand_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-transform: inherit;</span>
@ -364,7 +364,7 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-right: 5px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_first_grand_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_first_grand_summary_row {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-top: 8px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-bottom: 8px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-left: 5px;</span>
@ -374,11 +374,11 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_striped {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_striped {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: rgba(128, 128, 128, 0.05);</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_table_body {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_table_body {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-style: solid;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-width: 2px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-top-color: #D3D3D3;</span>
@ -387,7 +387,7 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_footnotes {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_footnotes {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-style: none;</span>
@ -401,7 +401,7 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> border-right-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_footnote {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_footnote {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> margin: 0px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 90%;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-left: 4px;</span>
@ -410,7 +410,7 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-right: 5px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_sourcenotes {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_sourcenotes {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> color: #333333;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> background-color: #FFFFFF;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> border-bottom-style: none;</span>
@ -424,7 +424,7 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> border-right-color: #D3D3D3;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_sourcenote {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_sourcenote {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 90%;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-top: 4px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-bottom: 4px;</span>
@ -432,64 +432,64 @@ Alternative is to use attributes, eg from <code><a href="https://hbiostat.org/R/
<span class="r-out co"><span class="r-pr">#&gt;</span> padding-right: 5px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_left {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_left {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-align: left;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_center {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_center {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-align: center;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_right {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_right {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-align: right;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-variant-numeric: tabular-nums;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_font_normal {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_font_normal {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-weight: normal;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_font_bold {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_font_bold {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-weight: bold;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_font_italic {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_font_italic {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-style: italic;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_super {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_super {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 65%;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_footnote_marks {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_footnote_marks {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-style: italic;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-weight: normal;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 75%;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> vertical-align: 0.4em;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_asterisk {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_asterisk {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> font-size: 100%;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> vertical-align: 0;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_indent_1 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_indent_1 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-indent: 5px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_indent_2 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_indent_2 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-indent: 10px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_indent_3 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_indent_3 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-indent: 15px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_indent_4 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_indent_4 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-indent: 20px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #kusfxlckhd .gt_indent_5 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> #bliypdzlhg .gt_indent_5 {</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> text-indent: 25px;</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> }</span>
<span class="r-out co"><span class="r-pr">#&gt;</span> &lt;/style&gt;</span>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 87 KiB

After

Width:  |  Height:  |  Size: 90 KiB

View File

@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">

View File

@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">
@ -107,8 +107,8 @@
<span class="r-in"><span><span class="va">x</span> <span class="op">&lt;-</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">&lt;-</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">#&gt;</span> [1,249] (249,485] (485,746] (746,1e+03] </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 501 500 499 500 </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> [1,236] (236,505] (505,751] (751,1e+03] </span>
<span class="r-out co"><span class="r-pr">#&gt;</span> 500 503 499 498 </span>
</code></pre></div>
</div>
</main><aside class="col-md-3"><nav id="toc"><h2>On this page</h2>

View File

@ -12,7 +12,7 @@ Handles"><!-- mathjax --><script src="https://cdnjs.cloudflare.com/ajax/libs/mat
<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.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">

View File

@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">

View File

@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">

View File

@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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">

View File

@ -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.12.4</small>
<small class="nav-text text-muted me-auto" data-bs-toggle="tooltip" data-bs-placement="bottom" title="">0.23.1.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

View File

@ -4,14 +4,18 @@ Gammelgaard
NA's
OLR
ORCID
OpenAI's
REDCap
REDCapR
REDCapRITS
RStudio
Randomisation
Sys
TALOS
Vectorised
af
agdamsbo
chatgpt
christophergandrud
ci
colname
@ -23,17 +27,21 @@ ddmmyy
ddmmyyxxxx
df
dk
doi
eb
eeptools
eg
forrestplot
gg
ggplot
github
gpttools
grotta
grottaBar
gtsummary
helpfull
https
jss
lst
mRS
olr

10
logo.R
View File

@ -1,10 +0,0 @@
# Logo creation
logo_path <- "/Users/au301842/Downloads/Logoer/DSC-logo.png"
hexSticker::sticker(logo_path, package="stRoke",
p_size=10, s_x=1, s_y=.7, s_width=.6,
h_fill = "coral", # Fill color
h_color = "maroon", # Border color
dpi = 100,
filename="man/figures/hexlogo.png")

View File

@ -2,29 +2,39 @@
% Please edit documentation in R/age_calc.R
\name{age_calc}
\alias{age_calc}
\title{Calculating age from date of birth}
\title{Calculate age in years, months, or days}
\usage{
age_calc(dob, enddate = Sys.Date(), units = "years", precise = TRUE)
}
\arguments{
\item{dob}{Date of birth. Data format follows standard POSIX layout. Format is yyyy-mm-dd.}
\item{dob}{Date of birth}
\item{enddate}{Date to calculate age at. Format is yyyy-mm-dd.}
\item{enddate}{End date for age calculation (default is Sys.Date())}
\item{units}{Default is "years". Can be changed to "days".}
\item{units}{Units for age calculation (default is "years").
Can be c("days", "months", "years")}
\item{precise}{Default is TRUE. Flag set whether to include calculations of spring years. Only of matter if using units = "days".}
\item{precise}{Option to calculate age precisely (default is TRUE)}
}
\value{
Vector of age
Age
}
\description{
For age calculations. Vectorised.
Calculate age in years, months, or days
}
\examples{
age_calc(dob = as.Date("1995-04-25"), enddate = as.Date("2020-04-25"), units = "years")
# Kim Larsen (cpr is known from album)
dob<-as.Date("1945-10-23")
date<-as.Date("2018-09-30")
trunc(age_calc(dob,date))
}
\references{
Becker, J.P. (2020). eeptools: An R Package for Teaching and Learning Ecology and Evolutionary Biology. Journal of Statistical Software, 93(2), 1-27. doi: 10.18637/jss.v093.i02
}
\seealso{
\code{\link[lubridate]{time_length}}
}
\keyword{age}
\keyword{date}
\keyword{time}

View File

@ -2,4 +2,5 @@ test_that("generic_stroke() runs!", {
iris$ord<-factor(sample(1:3,size=nrow(iris),replace=TRUE),ordered=TRUE)
result <- generic_stroke(df=iris, group = "Species", score = "ord", variables = colnames(iris)[1:3])
expect_equal(length(result), 3)
expect_equal(class(result), "list")
})

View File

@ -13,3 +13,16 @@ test_that("quatile_cut() works for detail.list==FALSE", {
})
################################################################################
# Test created using remotes::install_github("JamesHWade/gpttools") unit test addin.
test_that("quantile_cut works correctly", {
x <- runif(100)
groups <- 5
y <- runif(100)
expect_equal(quantile_cut(x, groups, y, na.rm = TRUE),
cut(x, quantile(y, probs = seq(0, 1, 1/groups), na.rm = TRUE, names = TRUE, type = 7),
include.lowest = TRUE, labels = NULL, ordered_result = FALSE))
})
################################################################################

View File

@ -1,35 +0,0 @@
updatePackageVersion <- function(packageLocation ="."){
## Seen at: https://www.mango-solutions.com/blog/how-to-auto-update-a-package-version-number
## Read DESCRIPTION file
desc <- readLines(file.path(packageLocation, "DESCRIPTION"))
## Find the line where the version is defined
vLine <- grep("^Version\\:", desc)
## Extract version number
vNumber <- gsub("^Version\\:\\s*", "", desc[vLine])
## Split the version number into two; a piece to keep, a piece to increment
versionNumber <- strsplit(vNumber, "\\.")[[1]]
versionParts <- length(versionNumber)
vNumberKeep <- paste(versionNumber[1:(versionParts-1)], sep= "", collapse= ".")
vNumberUpdate <- versionNumber[versionParts]
## Replace old version number with new one (increment by 1)
oldVersion <- as.numeric(vNumberUpdate)
newVersion <- oldVersion + 1
## Build final version number
vFinal <- paste(vNumberKeep, newVersion, sep = ".")
## Update DESCRIPTION file (in R)
desc[vLine] <- paste0("Version: ", vFinal )
## Update the actual DESCRIPTION file
writeLines(desc, file.path(packageLocation, "DESCRIPTION"))
## Return the updated version number to screen
return(vFinal)
}