powered by
calculates the value of the quantile function (inverse of the distribution function) of the survival variable with given intensity/hazard function.
Quant(p, int, tolerance = .Machine$double.eps, ...)
the (probability) values to calculate the quantiles at
the intensity/hazard function. Has to be vectorized.
tolerated numerical error in inverting the distribution function.
arguments to be passed to CumInt (eventually to integrate)
CumInt
integrate
a numerical value or vector giving the values of the quantile function at x
x
# NOT RUN { curve(Quant(x,int=function(x)3*x^2),from=1e-3,to=1 - 1e-3) curve(qweibull(x,shape=3),col=3,lty=3,add=TRUE) # }
Run the code above in your browser using DataLab