Skip to content

survRM2perm

Permutation Test for Comparing Restricted Mean Survival Time

v0.1.0 · Jun 4, 2020 · GPL-2

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

159

Last 30 days

20388th

159

Last 90 days

159

Last year

CRAN Check Status

5 NOTE
9 OK
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 (14 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

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.
NOTE r-devel-linux-x86_64-debian-gcc

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.
OK 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

*


            
NOTE r-oldrel-macos-arm64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

  'LazyData' is specified without a 'data' directory
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

*


            

Check History

NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
NOTE r-devel-linux-x86_64-debian-clang

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.
NOTE r-devel-linux-x86_64-debian-gcc

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.
NOTE r-oldrel-macos-arm64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-macos-x86_64

LazyData

  'LazyData' is specified without a 'data' directory
NOTE r-oldrel-windows-x86_64

LazyData

  'LazyData' is specified without a 'data' directory

Dependency Network

Dependencies Reverse dependencies survival stats4 survRM2perm

Version History

new 0.1.0 Mar 10, 2026