mirror of
https://github.com/agdamsbo/stRoke.git
synced 2024-11-24 13:41:55 +01:00
see NEWS.md
This commit is contained in:
parent
09d59acf49
commit
294b756b92
@ -1,3 +1,3 @@
|
|||||||
Version: 23.1.5
|
Version: 23.1.6
|
||||||
Date: 2023-01-12 13:45:40 UTC
|
Date: 2023-01-18 10:24:32 UTC
|
||||||
SHA: 7c8b898eed02d293103c10ab59e40df4f2dd1296
|
SHA: 9a648c24e5d7baf883b8f56f3fe6d52cc8a4e428
|
||||||
|
@ -4,15 +4,14 @@ Version: 23.1.7
|
|||||||
Authors@R:
|
Authors@R:
|
||||||
person("Andreas Gammelgaard", "Damsbo", , "agdamsbo@clin.au.dk", role = c("aut", "cre"),
|
person("Andreas Gammelgaard", "Damsbo", , "agdamsbo@clin.au.dk", role = c("aut", "cre"),
|
||||||
comment = c(ORCID = "0000-0002-7559-1154"))
|
comment = c(ORCID = "0000-0002-7559-1154"))
|
||||||
Author:
|
|
||||||
Kraglund et al (2018) <doi:10.1161/STROKEAHA.117.020067>,
|
|
||||||
Zou et al (2022) <doi:10.1161/STROKEAHA.121.037744>,
|
|
||||||
Becker (2020) <doi:10.18637/jss.v093.i02>
|
|
||||||
Description: This is an R-toolbox of custom functions for convenient data management
|
Description: This is an R-toolbox of custom functions for convenient data management
|
||||||
and analysis in clinical health research and teaching.
|
and analysis in clinical health research and teaching.
|
||||||
The package is mainly collected for personal use, but any use beyond that is encouraged.
|
The package is mainly collected for personal use, but any use beyond that is encouraged.
|
||||||
This package has migrated functions from 'agdamsbo/daDoctoR', and new functions has been added.
|
This package has migrated functions from 'agdamsbo/daDoctoR', and new functions has been added.
|
||||||
Versioning follows months and year. See NEWS.md for release notes.
|
Version follows months and year. See NEWS/Changelog for release notes.
|
||||||
|
This package includes sampled data from the TALOS trial (Kraglund et al (2018) <doi:10.1161/STROKEAHA.117.020067>).
|
||||||
|
The 'win_prob()' function is based on work by Zou et al (2022) <doi:10.1161/STROKEAHA.121.037744>.
|
||||||
|
The 'age_calc()' function is based on work by Becker (2020) <doi:10.18637/jss.v093.i02>.
|
||||||
URL: https://agdamsbo.github.io/stRoke/, https://github.com/agdamsbo/stRoke
|
URL: https://agdamsbo.github.io/stRoke/, https://github.com/agdamsbo/stRoke
|
||||||
BugReports: https://github.com/agdamsbo/stRoke/issues
|
BugReports: https://github.com/agdamsbo/stRoke/issues
|
||||||
License: GPL-3
|
License: GPL-3
|
||||||
|
@ -10,10 +10,8 @@
|
|||||||
#'
|
#'
|
||||||
#' @examples
|
#' @examples
|
||||||
#' trunc(age_calc(as.Date("1945-10-23"),as.Date("2018-09-30")))
|
#' trunc(age_calc(as.Date("1945-10-23"),as.Date("2018-09-30")))
|
||||||
#' @references
|
|
||||||
#' A similar functionality is achievable
|
|
||||||
#' with \code{\link[lubridate]{time_length}}
|
|
||||||
#'
|
#'
|
||||||
|
#' @references
|
||||||
#' Becker, J.P. (2020). eeptools: An R Package for Teaching and Learning
|
#' Becker, J.P. (2020). eeptools: An R Package for Teaching and Learning
|
||||||
#' Ecology and Evolutionary Biology. Journal of Statistical Software,
|
#' Ecology and Evolutionary Biology. Journal of Statistical Software,
|
||||||
#' 93(2), 1-27.
|
#' 93(2), 1-27.
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
|
|
||||||
|
|
||||||
#' @title Calculates the probability of winning
|
#' @title Calculates the probability of winning
|
||||||
#' @description Calculates the probability of winning (winP)
|
#' @description Calculates the probability of winning (winP). In the referenced
|
||||||
|
#' article Zou et al (2022) proposes a method for calculating probability of
|
||||||
|
#' winning with a confidence interval an p-value testing.
|
||||||
#' @param data A data frame containing the response and group variable.
|
#' @param data A data frame containing the response and group variable.
|
||||||
#' @param response The name of the response variable.
|
#' @param response The name of the response variable.
|
||||||
#' Takes first column if empty.
|
#' Takes first column if empty.
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
Andreas
|
Andreas
|
||||||
|
Changelog
|
||||||
DDMMYY
|
DDMMYY
|
||||||
DOI
|
DOI
|
||||||
Gammelgaard
|
Gammelgaard
|
||||||
Github
|
Github
|
||||||
|
Kraglund
|
||||||
NA's
|
NA's
|
||||||
OLR
|
OLR
|
||||||
ORCID
|
ORCID
|
||||||
OpenAI's
|
OpenAI's
|
||||||
REDCap
|
|
||||||
REDCapR
|
|
||||||
REDCapRITS
|
REDCapRITS
|
||||||
RStudio
|
RStudio
|
||||||
Randomisation
|
Randomisation
|
||||||
@ -18,10 +18,8 @@ TALOS
|
|||||||
Vectorised
|
Vectorised
|
||||||
XXXX
|
XXXX
|
||||||
Zou
|
Zou
|
||||||
advices
|
|
||||||
agdamsbo
|
agdamsbo
|
||||||
al
|
al
|
||||||
analysing
|
|
||||||
annonymized
|
annonymized
|
||||||
bstfun
|
bstfun
|
||||||
calc
|
calc
|
||||||
@ -38,6 +36,7 @@ ddmmyy
|
|||||||
ddmmyyxxxx
|
ddmmyyxxxx
|
||||||
difftime
|
difftime
|
||||||
dk
|
dk
|
||||||
|
doi
|
||||||
eeptools
|
eeptools
|
||||||
eg
|
eg
|
||||||
et
|
et
|
||||||
@ -52,15 +51,13 @@ grotta
|
|||||||
grottaBar
|
grottaBar
|
||||||
gtsummary
|
gtsummary
|
||||||
inteRgrate
|
inteRgrate
|
||||||
|
jss
|
||||||
lm
|
lm
|
||||||
lst
|
lst
|
||||||
mRS
|
mRS
|
||||||
md
|
|
||||||
neuRo
|
|
||||||
olr
|
olr
|
||||||
recognised
|
recognised
|
||||||
sapply
|
sapply
|
||||||
uri
|
|
||||||
vapply
|
vapply
|
||||||
vec
|
vec
|
||||||
winP
|
winP
|
||||||
|
@ -27,11 +27,9 @@ Calculate age in years, months, or days
|
|||||||
}
|
}
|
||||||
\examples{
|
\examples{
|
||||||
trunc(age_calc(as.Date("1945-10-23"),as.Date("2018-09-30")))
|
trunc(age_calc(as.Date("1945-10-23"),as.Date("2018-09-30")))
|
||||||
|
|
||||||
}
|
}
|
||||||
\references{
|
\references{
|
||||||
A similar functionality is achievable
|
|
||||||
with \code{\link[lubridate]{time_length}}
|
|
||||||
|
|
||||||
Becker, J.P. (2020). eeptools: An R Package for Teaching and Learning
|
Becker, J.P. (2020). eeptools: An R Package for Teaching and Learning
|
||||||
Ecology and Evolutionary Biology. Journal of Statistical Software,
|
Ecology and Evolutionary Biology. Journal of Statistical Software,
|
||||||
93(2), 1-27.
|
93(2), 1-27.
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
\alias{stRoke-package}
|
\alias{stRoke-package}
|
||||||
\title{stRoke: Clinical Stroke Research}
|
\title{stRoke: Clinical Stroke Research}
|
||||||
\description{
|
\description{
|
||||||
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 'agdamsbo/daDoctoR', and new functions has been added. Versioning follows months and year. See NEWS.md for release notes.
|
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 'agdamsbo/daDoctoR', and new functions has been added. Version follows months and year. See NEWS/Changelog for release notes. This package includes sampled data from the TALOS trial (Kraglund et al (2018) \doi{10.1161/STROKEAHA.117.020067}). The 'win_prob()' function is based on work by Zou et al (2022) \doi{10.1161/STROKEAHA.121.037744}. The 'age_calc()' function is based on work by Becker (2020) \doi{10.18637/jss.v093.i02}.
|
||||||
}
|
}
|
||||||
\seealso{
|
\seealso{
|
||||||
Useful links:
|
Useful links:
|
||||||
|
@ -44,7 +44,9 @@ Takes second column if empty.}
|
|||||||
A list containing the win_prob statistics.
|
A list containing the win_prob statistics.
|
||||||
}
|
}
|
||||||
\description{
|
\description{
|
||||||
Calculates the probability of winning (winP)
|
Calculates the probability of winning (winP). In the referenced
|
||||||
|
article Zou et al (2022) proposes a method for calculating probability of
|
||||||
|
winning with a confidence interval an p-value testing.
|
||||||
}
|
}
|
||||||
\examples{
|
\examples{
|
||||||
win_prob(data=stRoke::talos,response="mrs_6",group="rtreat")
|
win_prob(data=stRoke::talos,response="mrs_6",group="rtreat")
|
||||||
|
Loading…
Reference in New Issue
Block a user