utilitiesForSurvivalTrials {rpact} | R Documentation |
Functions to convert pi, lambda and median values into each other.
getLambdaByPi(piValue, eventTime = 12, kappa = 1)
getLambdaByMedian(median, kappa = 1)
getHazardRatioByPi(pi1, pi2, eventTime = 12, kappa = 1)
getPiByLambda(lambda, eventTime = 12, kappa = 1)
getPiByMedian(median, eventTime = 12, kappa = 1)
getMedianByLambda(lambda, kappa = 1)
getMedianByPi(piValue, eventTime = 12, kappa = 1)
piValue , pi1 , pi2 , lambda , median |
Value that shall be converted. |
eventTime |
The assumed time under which the event rates are calculated, default is |
kappa |
A numeric value > 0. A |
Can be used, e.g., to convert median values into pi or lambda values for usage in
getSampleSizeSurvival()
or getPowerSurvival()
.
Returns a numeric
value or vector will be returned.