powered by
Calculate the value at x of the distribution function associated with the intensity/hazard function probived through int.
x
int
Dist(x, int, ...)
the value to evaluate the distribution function at.
vectorized function specifying the intensity/hazard function
arguments to be passed to the integrate function
integrate
A number between 0 and 1 inclusive, that gives the value of the distribution function at the specified x value.
# NOT RUN { curve(Dist(x,int=function(x)3*x^2),0,5) curve(pweibull(x,shape=3),0,5,add=TRUE,col=3,lty=3) # }
Run the code above in your browser using DataLab