Package: PDXpower
Type: Package
Title: Time to Event Outcome in Experimental Designs of Pre-Clinical
        Studies
Version: 1.0.5
Date: 2025-12-15
Authors@R: c(
    person("Shanpeng", "Li", email = "lishanpeng0913@ucla.edu", 
        role = c("aut", "cre")),
    person("Gang", "Li", email = "vli@ucla.edu", 
        role = "ctb")
    )
Maintainer: Shanpeng Li <lishanpeng0913@ucla.edu>
Description: Conduct simulation-based customized power calculation 
             for clustered time to event data in a mixed crossed/nested design,
             where a number of cell lines and a number of mice within each cell line are considered to achieve a desired statistical power,
             motivated by Eckel-Passow and colleagues (2021) <doi:10.1093/neuonc/noab137> and Li and colleagues (2025) <doi:10.51387/25-NEJSDS76>.
             This package provides two commonly used models for powering a design, linear mixed effects and Cox frailty model. Both models account for
             within-subject (cell line) correlation while holding different distributional assumptions about the outcome. 
             Alternatively, the counterparts of fixed effects model are also available, which produces similar estimates of statistical power.
License: GPL (>= 2)
Encoding: UTF-8
Depends: R (>= 3.5.0)
Imports: nlme,ggplot2,ggpubr,frailtypack,stats, survival, parallel,
        ggplot2
RoxygenNote: 7.3.2
Suggests: testthat (>= 3.0.0), spelling
Language: en-US
LazyData: true
NeedsCompilation: no
Packaged: 2025-12-15 00:47:05 UTC; shanpengli
Author: Shanpeng Li [aut, cre],
  Gang Li [ctb]
Repository: CRAN
Date/Publication: 2025-12-15 01:00:02 UTC
Built: R 4.4.3; ; 2026-01-12 22:22:43 UTC; windows
