getSurvival {BuyseTest}R Documentation

Extract the Survival and Survival Jumps

Description

Extract the survival and survival jumps.

Usage

getSurvival(
  object,
  type = NULL,
  endpoint = NULL,
  strata = NULL,
  unlist = TRUE,
  trace = TRUE
)

## S4 method for signature 'S4BuyseTest'
getSurvival(
  object,
  type = NULL,
  endpoint = NULL,
  strata = NULL,
  unlist = TRUE,
  trace = TRUE
)

Arguments

object

an R object of class S4BuyseTest, i.e., output of BuyseTest

type

[character vector] the type of survival to be output. See details.

endpoint

[integer/character vector] the endpoint for which the survival should be output.

strata

[integer/character vector] the strata relative to which the survival should be output.

unlist

[logical] should the structure of the output be simplified when possible.

trace

[logical] should a message be printed to explain what happened when the function returned NULL.

Details

The argument type can take any of the following values:

Author(s)

Brice Ozenne


[Package BuyseTest version 3.0.4 Index]