Package: lwc2022 1.0.0

Cormac Monaghan
lwc2022: Langa-Weir Classification of Cognitive Function for 2022 HRS Data
Generates the Langa-Weir classification of cognitive function for the 2022 Health and Retirement Study (HRS) cognition data. It is particularly useful for researchers studying cognitive aging who wish to work with the most recent release of HRS data. The package provides user-friendly functions for data preprocessing, scoring, and classification allowing users to easily apply the Langa-Weir classification system. For details regarding the; HRS <https://hrsdata.isr.umich.edu/> and Langa-Weir classifications <https://hrsdata.isr.umich.edu/data-products/langa-weir-classification-cognitive-function-1995-2020>.
Authors:
lwc2022_1.0.0.tar.gz
lwc2022_1.0.0.zip(r-4.7)lwc2022_1.0.0.zip(r-4.6)lwc2022_1.0.0.zip(r-4.5)
lwc2022_1.0.0.tgz(r-4.6-any)lwc2022_1.0.0.tgz(r-4.5-any)
lwc2022_1.0.0.tar.gz(r-4.7-any)lwc2022_1.0.0.tar.gz(r-4.6-any)
lwc2022_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
lwc2022/json (API)
| # Install 'lwc2022' in R: |
| install.packages('lwc2022', repos = c('https://c-monaghan.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/c-monaghan/lwc2022/issues
Pkgdown/docs site:https://c-monaghan.github.io
- cog_data - Cognition Data
- cog_data_score - Scored Cognition Data
Last updated from:1ec89b88fc. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 153 | ||
| source / vignettes | OK | 144 | ||
| linux-release-x86_64 | OK | 106 | ||
| macos-release-arm64 | OK | 166 | ||
| macos-oldrel-arm64 | OK | 133 | ||
| windows-devel | OK | 75 | ||
| windows-release | OK | 68 | ||
| windows-oldrel | OK | 73 | ||
| wasm-release | OK | 97 |
Exports:classifyextractscorescore_recallscore_subtraction
Dependencies:clidplyrgenericsgluelifecyclemagrittrpillarpkgconfigR6rlangtibbletidyselectutf8vctrswithr
Example data
Rendered fromexample_data.Rmdusingknitr::rmarkdownon May 14 2026.Last update: 2024-11-19
Started: 2024-11-14
lwc2022: Generating the Langa-Weir classification of cognitive function for the 2022 Health and Retirement Study cognition data
Rendered fromlwc2022.Rmdusingknitr::rmarkdownon May 14 2026.Last update: 2024-11-21
Started: 2024-11-14
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Classify Cognitive Function Based on Total Scores | classify |
| Cognition Data | cog_data |
| Scored Cognition Data | cog_data_score |
| Extract Key Cognitive Measures from Dataset | extract |
| Calculate Cognitive Test Scores | score |
| Score Word Recall Task | score_recall |
| Score Serial Subtraction Task | score_subtraction |