powered by
Evaluate the survival function corresponding to the given intensity/hazard function.
Surv(x, int, ...)
value to calculate the value of the survival function for
the intensity/hazard function
further arguments to be passed to CumInt
CumInt
a numerical value or vector giving the value(s) of the survival function at x
x
# NOT RUN { 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) # }
Run the code above in your browser using DataLab