Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

expEndp

Representation of exponentially distributed endpoints


Description

Represents exponentially distributed endpoints in clinical trials.

Usage

expEndp(lambda, cenRate, accrualTime = 0, cenTime)

Arguments

lambda

vector of the exponential rate parameters in each treatment group.

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

Details

The expEnd function is a constructor function for an S4 object of the class expEnd representing an exponentially distributed endpoint in a clinical trial. In conjunction with the assess function, exponential endpoints admit the calculation of the 'exact' type-I-error probability and power using an approximation formula.

See Also

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

Other endpoint types: normEndp, survEndp

Examples

# set the parameters of two exponentially distributed endpoints
endp <- expEndp(lambda = c(1, 2), cenTime = 10, cenRate = 0.01)

randomizeR

Randomization for Clinical Trials

v2.0.0
GPL (>= 3)
Authors
David Schindler [aut], Diane Uschner [aut, cre], Marcia Viviane Rueckbeil [ctb], Martin Manolov [ctb], Thi Mui Pham [ctb], Michael Martini [ctb], Ralf-Dieter Hilgers [aut, ths], Nicole Heussen [aut, ths]
Initial release
2019-11-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.