mirror of
https://github.com/agdamsbo/stRoke.git
synced 2024-11-21 12:30:23 +01:00
see NEWS.md
This commit is contained in:
parent
09d59acf49
commit
294b756b92
@ -1,3 +1,3 @@
|
||||
Version: 23.1.5
|
||||
Date: 2023-01-12 13:45:40 UTC
|
||||
SHA: 7c8b898eed02d293103c10ab59e40df4f2dd1296
|
||||
Version: 23.1.6
|
||||
Date: 2023-01-18 10:24:32 UTC
|
||||
SHA: 9a648c24e5d7baf883b8f56f3fe6d52cc8a4e428
|
||||
|
@ -4,15 +4,14 @@ Version: 23.1.7
|
||||
Authors@R:
|
||||
person("Andreas Gammelgaard", "Damsbo", , "agdamsbo@clin.au.dk", role = c("aut", "cre"),
|
||||
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
|
||||
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.
|
||||
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
|
||||
BugReports: https://github.com/agdamsbo/stRoke/issues
|
||||
License: GPL-3
|
||||
|
@ -10,10 +10,8 @@
|
||||
#'
|
||||
#' @examples
|
||||
#' 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
|
||||
#' Ecology and Evolutionary Biology. Journal of Statistical Software,
|
||||
#' 93(2), 1-27.
|
||||
|
@ -1,7 +1,9 @@
|
||||
|
||||
|
||||
#' @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 response The name of the response variable.
|
||||
#' Takes first column if empty.
|
||||
@ -13,7 +15,7 @@
|
||||
#' @param sample.size Flag to include sample size calculation. Default is FALSE.
|
||||
#' @param print.tables Flag to print cumulative tables. Default is FALSE.
|
||||
#' @param dec Numeric for decimals to print. Default is 3.
|
||||
#' @return A list containing the win_prob statistics.
|
||||
#' @return A list containing the win_prob statistics.
|
||||
#' @export
|
||||
#' @importFrom stats pnorm qnorm xtabs
|
||||
#' @source \doi{10.1161/STROKEAHA.121.037744}
|
||||
|
@ -1,14 +1,14 @@
|
||||
Andreas
|
||||
Changelog
|
||||
DDMMYY
|
||||
DOI
|
||||
Gammelgaard
|
||||
Github
|
||||
Kraglund
|
||||
NA's
|
||||
OLR
|
||||
ORCID
|
||||
OpenAI's
|
||||
REDCap
|
||||
REDCapR
|
||||
REDCapRITS
|
||||
RStudio
|
||||
Randomisation
|
||||
@ -18,10 +18,8 @@ TALOS
|
||||
Vectorised
|
||||
XXXX
|
||||
Zou
|
||||
advices
|
||||
agdamsbo
|
||||
al
|
||||
analysing
|
||||
annonymized
|
||||
bstfun
|
||||
calc
|
||||
@ -38,6 +36,7 @@ ddmmyy
|
||||
ddmmyyxxxx
|
||||
difftime
|
||||
dk
|
||||
doi
|
||||
eeptools
|
||||
eg
|
||||
et
|
||||
@ -52,15 +51,13 @@ grotta
|
||||
grottaBar
|
||||
gtsummary
|
||||
inteRgrate
|
||||
jss
|
||||
lm
|
||||
lst
|
||||
mRS
|
||||
md
|
||||
neuRo
|
||||
olr
|
||||
recognised
|
||||
sapply
|
||||
uri
|
||||
vapply
|
||||
vec
|
||||
winP
|
||||
|
@ -27,11 +27,9 @@ Calculate age in years, months, or days
|
||||
}
|
||||
\examples{
|
||||
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}}
|
||||
|
||||
Becker, J.P. (2020). eeptools: An R Package for Teaching and Learning
|
||||
Ecology and Evolutionary Biology. Journal of Statistical Software,
|
||||
93(2), 1-27.
|
||||
|
@ -6,7 +6,7 @@
|
||||
\alias{stRoke-package}
|
||||
\title{stRoke: Clinical Stroke Research}
|
||||
\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{
|
||||
Useful links:
|
||||
|
@ -44,7 +44,9 @@ Takes second column if empty.}
|
||||
A list containing the win_prob statistics.
|
||||
}
|
||||
\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{
|
||||
win_prob(data=stRoke::talos,response="mrs_6",group="rtreat")
|
||||
|
Loading…
Reference in New Issue
Block a user