Skip to contents

Fit scale and shape parameters of the Weibull distribution to match dropout rates at two specified time points.

Usage

weibullDropout(time, dropout_rate)

Arguments

time

a numeric vector of two time points at which dropout rates are specified.

dropout_rate

a numeric vector of dropout rates at time.

Value

a named vector for scale and shape parameters.