Skip to content

surv2sampleComp

1.0-5Package record

Inference for Model-Free Between-Group Parameters for Censored Survival Data

0packages depend
3.4Kdownloads / year
–test coverage
11/13flavors OK

Overview

About

Performs inference of several model-free group contrast measures, which include difference/ratio of cumulative incidence rates at given time points, quantiles, and restricted mean survival times (RMST). Two kinds of covariate adjustment procedures (i.e., regression and augmentation) for inference of the metrics based on RMST are also included.

Changes in 1.0-5

Minor improvements

  • Added conf.int argument in surv2sample(), rmstaug(), and rmstreg() to specify the confidence coefficient of confidence intervals.
  • Added tau_start argument in rmst2sample() to calculate the restricted mean survival time beyond a specific time point (to calculate AUC between tau_start and tau).
  • The integrated restricted mean survival time (Zhao et al., 2012) is now calculated in surv2sample().
  • No default value for the truncation time point, tau, in rmst2sample(). tau needs to be specified by users.

From NEWS.md in the release

Install

Health

CRAN checks
2NOTE11OK
Check messages
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Miki Horiguchi <horiguchimiki@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Lu",
                      family = "Tian",
                      role = "aut"),
               person(given = "Hajime",
                      family = "Uno",
                      role = "aut"),
               person(given = "Miki",
                      family = "Horiguchi",
                      role = c("aut", "cre"),
                      email = "horiguchimiki@gmail.com"))
as necessary.

CRAN check page ↗

Slowest check: 2.5 min · r-oldrel-windows-x86_64
Status changes
  • NOTE11 OK, 2 NOTE2026-06-09
  • ERROR11 OK, 1 NOTE, 1 ERROR2026-06-08
  • NOTE9 OK, 5 NOTE2026-03-10
Advisories

none known

Documentation

In release 1.0-5
READMENoVignettesNoNEWSYes · 100% structured · mentions 1.0-5Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
6includes a package overview page
Examples that run
100%3 run in a plain check
Exported functions with examples
75%
Documented parameters
100%
Return-value docs
0%
Help pages citing references
67%

Downloads

3.4K
CRAN downloads in the past year
Rank #6,287 · ~9/day · ~284/mo
Daily download trend is not available in this view yet.
29130 days
1.4K90 days
3.4K1 year
Compare downloads with other packages →
Also on90 r2u3 autocran93 c2d4u

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

Installing surv2sampleComp adds 47 packages (29 with compiled code, 45 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (0)
none
Imports (3)
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (from the free-text Author field) (3)
· added in 1.0-5

Maintainer since 1.0-5 (2017), previously Hajime Uno (1.0-1 to 1.0-4)

Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0-5Latest
    record
    2017-06-23 · current release · diff ↗ ·
    removed 1 export
    plot.surv2sample
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • 1.0-4
    record
    2014-07-10 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 1.0-3
    record
    2013-12-23 · diff ↗
Show 3 earlier eventsHide 3 earlier events
  • 1.0-2
    record
    2013-11-20 · diff ↗ ·
    added 1 export
    pbc.sample
  • 1.0-1
    record
    2013-11-16
  • R
    R 3.0.0 released · 2013-04-03

Package metadata

First published
2013-11-16
Total releases
5 / 13 yrs
License
GPL-2 OSI
Download size
9.1 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("surv2sampleComp")

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for surv2sampleComp version 1.0-5 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

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