Skip to content

twoCoprimary

Sample Size and Power Calculation for Two Co-Primary Endpoints

v1.0.0 · Nov 21, 2025 · MIT + file LICENSE

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 <doi:10.1080/10543406.2011.551329>), two binary endpoints using asymptotic methods (Sozu et al. 2010 <doi:10.1002/sim.3972>) and exact methods (Homma and Yoshida 2025 <doi:10.1177/09622802251368697>), mixed continuous and binary endpoints (Sozu et al. 2012 <doi:10.1002/bimj.201100221>), and mixed count and continuous endpoints (Homma and Yoshida 2024 <doi:10.1002/pst.2337>). All methods appropriately account for correlation between endpoints and provide both sample size and power calculation capabilities.

Downloads

CRAN

181

Last 30 days

23473rd

455

Last 90 days

1.2K

Last year

Trend: +53.4% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

19

Last 90 days

47

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

4

Last 7 days

22

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Code metrics have not been computed for this package yet.

Dependency Network

Dependencies Reverse dependencies mvtnorm pbivnorm fpCompare twoCoprimary

Version History

1 tracked
new 1.0.0 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Nov 21, 2025. Releases before tracking aren’t shown.