Skip to content

Commit

Permalink
prepare for CRAN
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdonohue committed Jan 23, 2024
1 parent 5753be1 commit 9b9466f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 72 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ Collate:
'power_mmrm.R'
'print.power.longtest.R'
Encoding: UTF-8
RoxygenNote: 7.2.3
RoxygenNote: 7.3.1
43 changes: 6 additions & 37 deletions R/longpower-package.R
Original file line number Diff line number Diff line change
@@ -1,37 +1,6 @@
#' Sample size calculations for longitudinal data
#'
#' The longpower package contains functions for computing power and sample size
#' for linear models of longitudinal data based on the formula due to Liu and
#' Liang (1997) and Diggle et al (1994). Either formula is expressed in terms
#' of marginal model or Generalized Estimating Equations (GEE) parameters. This
#' package contains functions which translate pilot mixed effect model
#' parameters (e.g. random intercept and/or slope) into marginal model
#' parameters so that the formulas of Diggle et al or Liu and Liang formula can
#' be applied to produce sample size calculations for two sample longitudinal
#' designs assuming known variance. The package also handles the categorical
#' time Mixed Model of Repeated Measures (MMRM) using the formula of Lu, Luo,
#' and Chen (2008)
#'
#' \tabular{ll}{ Package: \tab longpower\cr Type: \tab Package\cr Version: \tab
#' 1.0\cr Date: \tab 2013-05-22\cr License: \tab GPL (>= 2)\cr LazyLoad: \tab
#' yes\cr }
#'
#' @name longpower-package
#' @docType package
#' @author Michael C. Donohue <mdonohue@@usc.edu> Anthony C. Gamst Steven D.
#' Edland
#' @seealso \code{\link{lmmpower}}, \code{\link{power.mmrm}},
#' \code{\link{power.mmrm.ar1}}, \code{\link{lmmpower}},
#' \code{\link{diggle.linear.power}}, \code{\link{edland.linear.power}},
#' \code{\link{liu.liang.linear.power}}
#' @references Diggle PJ, Heagerty PJ, Liang K, Zeger SL. (2002) \emph{Analysis
#' of longitudinal data}. Second Edition. Oxford Statistical Science Series.
#'
#' Liu, G., & Liang, K. Y. (1997). Sample size calculations for studies with
#' correlated observations. \emph{Biometrics}, 53(3), 937-47.
#'
#' Lu, K., Luo, X., & Chen, P.-Y. (2008). Sample size estimation for repeated
#' measures analysis in randomized clinical trials with missing data.
#' \emph{International Journal of Biostatistics}, 4, (1)
#' @keywords package
NULL
#' @keywords internal
"_PACKAGE"

## usethis namespace: start
## usethis namespace: end
NULL
50 changes: 16 additions & 34 deletions man/longpower-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9b9466f

Please sign in to comment.