Description Usage Arguments Value Author(s) References Examples
View source: R/survmixture_f.R
The function 'survmixture_f' computes the survival distribution as a mixture of responders and non-responders. The responders and non-responders distributions are assumed to be Weibull distributions.
1 | survmixture_f(t, ascale_r, ascale_nr, bshape = 1, p)
|
t |
time at which the survival distribution is evaluated |
ascale_r |
scale parameter for the Weibull distribution for responders |
ascale_nr |
scale parameter for the Weibull distribution for non-responders |
bshape |
shape parameter for the Weibull distribution |
p |
event rate for the response |
This function returns the survival function evaluated at t based on a mixture model of responders and non-responders.
Marta Bofill Roig.
Design of phase III trials with long-term survival outcomes based on short-term binary results. Marta Bofill Roig, Yu Shen, Guadalupe Gomez Melis. arXiv:2008.12887
1 | survmixture_f(t=0.2,ascale_r=8,ascale_nr=5.6,p=0.2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.