survmixture_f: Mixture survival function

Description Usage Arguments Value Author(s) References Examples

View source: R/survmixture_f.R

Description

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.

Usage

1
survmixture_f(t, ascale_r, ascale_nr, bshape = 1, p)

Arguments

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

Value

This function returns the survival function evaluated at t based on a mixture model of responders and non-responders.

Author(s)

Marta Bofill Roig.

References

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

Examples

1
survmixture_f(t=0.2,ascale_r=8,ascale_nr=5.6,p=0.2)

survmixer documentation built on March 31, 2021, 9:08 a.m.