Skip to content

survRM2perm

0.1.0

Permutation Test for Comparing Restricted Mean Survival Time

0packages depend
2Kdownloads / year
test coverage
11/13checks pass

Overview

About
Maintained by Miki HoriguchiFirst published 2020-06-041 releasesCRAN page ↗

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.

Install

Health

CRAN checks
2NOTE11OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 1.7 min · r-devel-linux-x86_64-fedora-clang
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
3
Dependencies · direct
Check history
  • NOTE2026-03-10
    9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
75%

Downloads

2K
CRAN downloads in the past year
Rank #20,528 · ~5/day · ~163/mo
Daily download trend is not available in this view yet.
16330 days
54490 days
2K1 year
Compare downloads with other packages →
Also on94 r2u2 autocran

Dependencies

Declared dependencies
0 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.6.0
Imports (3)
survivalmethodsstats4
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (0)

Author records are not tracked yet for this package.

Listed in earlier versions (2)
no longer listed · 0.1.0
no longer listed · 0.1.0
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2020-06-04
Total releases
1 / 6 yrs
License
GPL-2 OSI
Minimum R
≥ 3.6.0
Download size
9.2 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy