expEndp | R Documentation |
Represents exponentially distributed endpoints in clinical trials.
expEndp(lambda, cenRate, accrualTime = 0, cenTime)
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). |
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.
A S4
object representing
an exponentially distributed endpoint in a clinical trial.
Compute exact or simulated type-I-error: assess
.
Other endpoint types:
normEndp
,
survEndp
# set the parameters of two exponentially distributed endpoints
endp <- expEndp(lambda = c(1, 2), cenTime = 10, cenRate = 0.01)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.