Package: twoCoprimary Type: Package Title: Sample Size and Power Calculation for Two Co-Primary Endpoints Version: 1.0.0 Authors@R: person(given = "Gosuke", family = "Homma", role = c("aut", "cre"), email = "my.name.is.gosuke@gmail.com", comment = c(ORCID = "0000-0002-6854-5627")) Description: Comprehensive functions to calculate sample size and power for clinical trials with two co-primary endpoints. The package supports five endpoint combinations: two continuous endpoints (Sozu et al. 2011 ), two binary endpoints using asymptotic methods (Sozu et al. 2010 ) and exact methods (Homma and Yoshida 2025 ), mixed continuous and binary endpoints (Sozu et al. 2012 ), and mixed count and continuous endpoints (Homma and Yoshida 2024 ). All methods appropriately account for correlation between endpoints and provide both sample size and power calculation capabilities. License: MIT + file LICENSE Encoding: UTF-8 Depends: R (>= 3.5.0) Imports: mvtnorm, pbivnorm, fpCompare, stats Suggests: dplyr, knitr, rmarkdown, testthat (>= 3.0.0), tibble, tidyr, readr VignetteBuilder: knitr Roxygen: list(markdown = TRUE) RoxygenNote: 7.3.3 URL: https://gosukehommaex.github.io/twoCoprimary/, https://github.com/gosukehommaEX/twoCoprimary BugReports: https://github.com/gosukehommaEX/twoCoprimary/issues Language: en-US Config/testthat/edition: 3 Repository: https://gosukehommaex.r-universe.dev Date/Publication: 2026-01-01 07:18:01 UTC RemoteUrl: https://github.com/gosukehommaex/twocoprimary RemoteRef: HEAD RemoteSha: 6c59c3bf42469f7d146499f9d8b6ef6a20c0e8b6 NeedsCompilation: no Packaged: 2026-07-04 02:32:00 UTC; root Author: Gosuke Homma [aut, cre] (ORCID: ) Maintainer: Gosuke Homma