<?xml version="1.0" encoding="UTF-8"?>
<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
  <dc:title>While-Alive Regression for Composite Endpoints with
Cluster-Robust Inference</dc:title>
  <dc:title>R package WAreg version 0.1.0</dc:title>
  <dc:description>Provides estimation and inference for while-alive regression models targeting the while-alive loss rate for composite endpoints that include recurrent events and a terminal event. The implementation supports flexible time-varying covariate effects through user-selected time bases, including B-splines, natural splines, M-splines, step functions, truncated linear
    bases, interval-local bases, and piecewise polynomials. Inference can be performed using cluster-robust variance estimators for cluster-randomized trials, with subject-level (IID) variance as a special case. The package includes prediction and plotting utilities and K-fold cross-validation for
    selecting basis and tuning parameters. Methodology is based on Fang et al. (2025) &lt;doi:10.1093/biostatistics/kxaf047&gt;.</dc:description>
  <dc:type>Software</dc:type>
  <dc:relation>Depends: R (&gt;= 4.1)</dc:relation>
  <dc:relation>Imports: dplyr, tidyr, tibble, ggplot2, survival, nleqslv, splines,
MASS, magrittr, rlang</dc:relation>
  <dc:relation>Suggests: splines2, testthat (&gt;= 3.0.0), knitr, rmarkdown</dc:relation>
  <dc:creator>Xi Fang &lt;x.fang@yale.edu&gt;</dc:creator>
  <dc:publisher>Comprehensive R Archive Network (CRAN)</dc:publisher>
  <dc:contributor>Xi Fang [aut, cre],
  Hajime Uno [aut],
  Fan Li [aut]</dc:contributor>
  <dc:rights>GPL-3</dc:rights>
  <dc:date>2026-03-06</dc:date>
  <dc:format>application/tgz</dc:format>
  <dc:identifier>https://CRAN.R-project.org/package=WAreg</dc:identifier>
  <dc:identifier>doi:10.32614/CRAN.package.WAreg</dc:identifier>
</oai_dc:dc>
