survEndp: Representation of survival endpoints

View source: R/survEndp.R

survEndpR Documentation

Representation of survival endpoints

Description

Represents survival endpoints in clinical trials.

Usage

survEndp(
  cenRate,
  accrualTime = 0,
  cenTime,
  shape,
  scale,
  weights = c(0, 0),
  maxcombo = FALSE
)

Arguments

cenRate

exponential censoring rate in a survival study.

accrualTime

duration of the accrual period in a survival study.

cenTime

total duration of a survival study (maximum length of followup).

shape

parameter of the Weibull distribution (must be positive)

scale

parameter of the Weibull distribution (must be positive)

weights

numeric specifying the weights used for the test. Unless specified an unweighted test is conducted.

maxcombo

logical specifying if the maxcombo test is used

Details

The survEnd function is a constructor function for an S4 object of the class survEnd representing a survival endpoint in a clinical trial.

Value

A S4 object representing a survival endpoint in a clinical trial.

See Also

Compute exact or simulated type-I-error: assess.

Other endpoint types: expEndp, normEndp


randomizeR documentation built on Sept. 19, 2023, 1:08 a.m.