Build Regularly Spaced Panels from Irregularly Spaced Longitudinal Data

Aligns irregularly timed longitudinal observations to regular panel schedules. Each observation on a subject serves as a potential baseline, and all later observations are aligned to the nearest panel with minimal delay. The package provides tools to: (1) build a panel book documenting alignments and delays, (2) organize variables in longitudinal data to wide-format panel matrices, (3) summarize alignment quality and panel coverage. Ideal for cross-lagged panel analysis, clinical trials with variable visit schedules, and Electronic Health Record harmonization.


panelTool

R-CMD-check Codecov test coverage

Overview

panelTool aligns irregularly spaced longitudinal observations to regular panels. Best for:

  • longitudinal data requiring harmonization to pre-specified intervals
  • Clinical trials with variable patient visit schedules
  • Electronic health record (EHR) data analysis
  • Observational studies with flexible follow-up timing

Installation

You can install the development version of panelTool from GitHub with:

# install.packages("pak")
pak::pak("xiaoran831213/panelTool")

Example

This is a basic example which shows you how to solve a common problem:

library(panelTool)
## basic example code

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("panelTool")

0.1.0 by Xiaoran Tong, 2 months ago


https://github.com/xiaoran831213/panelTool


Report a bug at https://github.com/xiaoran831213/panelTool/issues


Browse source code at https://github.com/cran/panelTool


Authors: Xiaoran Tong [aut, cre] (ORCID:


Documentation:   PDF Manual  


GPL (>= 3) license


Suggests testthat


See at CRAN