Surv | R Documentation |
Evaluate the survival function corresponding to the given intensity/hazard function.
Surv(x, int, ...)
x |
value to calculate the value of the survival function for |
int |
the intensity/hazard function |
... |
further arguments to be passed to |
a numerical value or vector giving the value(s) of the survival
function at x
Feng Chen <feng.chen@unsw.edu.au>
curve(Surv(x, int=function(x)3*x^2), from=0, to=5)
curve(pweibull(x,shape=3,lower=FALSE), add=TRUE, col=2, lty=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.