Description Usage Arguments Details Value
Gompertz function describing the hazard rate as function of the time
1 | HR.gompertz(t, lambda, alpha, inv = FALSE)
|
t |
time |
lambda |
λ parameter of Gompertz function |
alpha |
α parameter of Gompertz equation |
Given a Cox fit object returned by a coxph
function this function calulates the parameters to achieve the value of baseline hazard rate
as function of the time. The result returned by function is either
H_0 ≤ft ( t \right )=≤ft [\frac{1}{α}log≤ft ( \frac{α}{λ}t+1 \right ) \right ]^{-1}
or
\frac{1}{H_0 ≤ft ( t \right )}=\frac{1}{α}log≤ft ( \frac{α}{λ}t+1 \right )
A numeric vector of the baseline hazard values H_{0}≤ft (t \right) or their inverse H_{0}^{-1}≤ft ( t \right ).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.