survRM2perm
Permutation Test for Comparing Restricted Mean Survival Time
Description
Performs the permutation test using difference in the restricted mean survival time (RMST) between groups as a summary measure of the survival time distribution. When the sample size is less than 50 per group, it has been shown that there is non-negligible inflation of the type I error rate in the commonly used asymptotic test for the RMST comparison. Generally, permutation tests can be useful in such a situation. However, when we apply the permutation test for the RMST comparison, particularly in small sample situations, there are some cases where the survival function in either group cannot be defined due to censoring in the permutation process. Horiguchi and Uno (2020) <doi:10.1002/sim.8565> have examined six workable solutions to handle this numerical issue. It performs permutation tests with implementation of the six methods outlined in the paper when the numerical issue arises during the permutation process. The result of the asymptotic test is also provided for a reference.
Downloads
195
Last 30 days
22692nd
495
Last 90 days
1.8K
Last year
Trend: +18.2% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | NOTE |
| r-devel-linux-x86_64-debian-gcc | NOTE |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| 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 details (5 non-OK)
CRAN incoming feasibility
Maintainer: ‘Miki Horiguchi <horiguchimiki@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Miki",
family = "Horiguchi",
role = c("aut", "cre"),
email = "horiguchimiki@gmail.com"),
person(given = "Hajime",
family = "Uno",
role = "aut"))
as necessary.
CRAN incoming feasibility
Maintainer: ‘Miki Horiguchi <horiguchimiki@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Miki",
family = "Horiguchi",
role = c("aut", "cre"),
email = "horiguchimiki@gmail.com"),
person(given = "Hajime",
family = "Uno",
role = "aut"))
as necessary.
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory
Check History
NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
CRAN incoming feasibility
Maintainer: ‘Miki Horiguchi <horiguchimiki@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Miki",
family = "Horiguchi",
role = c("aut", "cre"),
email = "horiguchimiki@gmail.com"),
person(given = "Hajime",
family = "Uno",
role = "aut"))
as necessary.
CRAN incoming feasibility
Maintainer: ‘Miki Horiguchi <horiguchimiki@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: c(person(given = "Miki",
family = "Horiguchi",
role = c("aut", "cre"),
email = "horiguchimiki@gmail.com"),
person(given = "Hajime",
family = "Uno",
role = "aut"))
as necessary.
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory
LazyData
'LazyData' is specified without a 'data' directory