Dist {coxsei} | R Documentation |
Distribution function
Description
Calculate the value at x
of the distribution function associated with
the intensity/hazard function probived through int
.
Usage
Dist(x, int, ...)
Arguments
x |
the value to evaluate the distribution function at. |
int |
vectorized function specifying the intensity/hazard function |
... |
arguments to be passed to the |
Value
A number between 0 and 1 inclusive, that gives the value of the
distribution function at the specified x
value.
Author(s)
Feng Chen <feng.chen@unsw.edu.au>
Examples
curve(Dist(x,int=function(x)3*x^2),0,5)
curve(pweibull(x,shape=3),0,5,add=TRUE,col=3,lty=3)
[Package coxsei version 0.3 Index]