Power and Sample Size for Projection Test under Repeated Measures

Computes the power and sample size (PASS) required to test for the difference in the mean function between two groups under a repeatedly measured longitudinal or sparse functional design. See the manuscript by Koner and Luo (2023) < https://salilkoner.github.io/assets/PASS_manuscript.pdf> for details of the PASS formula and computational details. The details of the testing procedure for univariate and multivariate response are presented in Wang (2021) and Koner and Luo (2023) respectively.


R-CMD-check

fPASS: Power and Sample Size Analysis for Projection-Based Testing of Mean Difference under Repeated Measures Design

Salil Koner

The details of the power and sample size formula and the relevant computational details are documented in the manuscript. The users are encourage to see Wang (2021) and Koner and Luo (2023) for further details about the testing procedure.

fPASS is designed to make it quick and easy software for randomized clinical trial simulation tool for determining treatment efficacy where the response collected under a longitudinal or functional design. The current development version of the package can be installed by running the following.

Installation

# Install development version from GitHub
devtools::install_github("SalilKoner/fPASS") # Vignettes takes about 20 minutes to run. 

Vignettes

If you want to install the package with the vignettes to be built, then run

# Install development version from GitHub with the vignettes.
# Vignettes takes about 5-7 minutes to run. 
devtools::install_github("SalilKoner/fPASS", build_vignettes = TRUE) 

followed by browseVignettes("fPASS") to see the application of the package in real life case studies.

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("fPASS")

1.0.0 by Salil Koner, 3 years ago


https://github.com/SalilKoner/fPASS


Report a bug at https://github.com/SalilKoner/fPASS/issues


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


Authors: Salil Koner [aut, cre, cph] , Sheng Luo [ctb, fnd]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports dplyr, purrr, face, magrittr, MASS, Matrix, nlme, testthat, mgcv, lifecycle, expm, gamm4, gss, rlang, stringr, utils

Suggests knitr, rmarkdown, Hotelling, refund, foreach


See at CRAN