View source: R/survdefWeibull.R
survdefWeibull | R Documentation |
Create a Survdef Object for a Weibull Distribution
survdefWeibull(shape, scale)
shape |
the shape parameter for the Weibull distribution.
Parametrization is according to built-in R functions for the Weibull
distribution, see |
scale |
the scale parameter for the Weibull distribution. |
a list with components:
S |
a vectorized function that takes time as input and returns the survival probability at that time |
h |
a vectorized function that takes time as input and returns the hazard at that time |
survdefWeibull(shape = 1.05, scale = 8573)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.