Package: suddengains 0.7.2

suddengains: Identify Sudden Gains in Longitudinal Data

Identify sudden gains based on the three criteria outlined by Tang and DeRubeis (1999) <doi:10.1037/0022-006X.67.6.894> to a selection of repeated measures. Sudden losses, defined as the opposite of sudden gains can also be identified. Two different datasets can be created, one including all sudden gains/losses and one including one selected sudden gain/loss for each case. It can extract scores around sudden gains/losses. It can plot the average change around sudden gains/losses and trajectories of individual cases.

Authors:Milan Wiedemann [aut, cre], Graham M Thew [aut], Richard Stott [ctb], Anke Ehlers [ctb, ths], Mental Health Research UK [fnd], Wellcome Trust [fnd]

suddengains_0.7.2.tar.gz
suddengains_0.7.2.zip(r-4.5)suddengains_0.7.2.zip(r-4.4)suddengains_0.7.2.zip(r-4.3)
suddengains_0.7.2.tgz(r-4.4-any)suddengains_0.7.2.tgz(r-4.3-any)
suddengains_0.7.2.tar.gz(r-4.5-noble)suddengains_0.7.2.tar.gz(r-4.4-noble)
suddengains_0.7.2.tgz(r-4.4-emscripten)suddengains_0.7.2.tgz(r-4.3-emscripten)
suddengains.pdf |suddengains.html
suddengains/json (API)
NEWS

# Install 'suddengains' in R:
install.packages('suddengains', repos = c('https://milanwiedemann.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/milanwiedemann/suddengains/issues

Datasets:
  • sgdata - Example dataset dataset with repeated measures of depression and rumination
  • sgdata_bad - Example dataset dataset with repeated measures of depression and rumination

On CRAN:

change-detectionsudden-gainssudden-losses

5.15 score 7 stars 10 scripts 283 downloads 1 mentions 16 exports 60 dependencies

Last updated 2 years agofrom:35f0211c37. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 20 2024
R-4.5-winNOTENov 20 2024
R-4.5-linuxNOTENov 20 2024
R-4.4-winNOTENov 20 2024
R-4.4-macNOTENov 20 2024
R-4.3-winNOTENov 20 2024
R-4.3-macNOTENov 20 2024

Exports:%>%check_intervalcount_intervalscreate_bypersoncreate_bysgdefine_crit1_cutoffdescribe_sgextract_valuesidentify_sgidentify_slplot_sgplot_sg_intervalsplot_sg_trajectoriesselect_caseswrite_bypersonwrite_bysg

Dependencies:bitbit64clicliprcolorspacecpp11crayondplyrfansifarverforcatsgenericsggplot2ggrepelglueGPArotationgridExtragtablehmsisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmnormtmunsellnaniarnlmenormpatchworkpillarpkgconfigplyrprettyunitsprogresspsychpurrrR6RColorBrewerRcppreadrrlangscalesstringistringrtibbletidyrtidyselecttzdbUpSetRutf8vctrsviridisviridisLitevisdatvroomwithr

A tutorial on using the suddengains R package

Rendered fromsuddengains-tutorial.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2020-05-20
Started: 2019-05-09

shinygains: An interactive illustration of the suddengains R package

Rendered fromshinygains.Rmdusingknitr::rmarkdownon Nov 20 2024.

Last update: 2020-03-14
Started: 2020-03-14