qpwe | R Documentation |
This will provide the quantile function of the specified piecewise exponential distribution
qpwe(p=seq(0,1,by=0.1),rate=c(0,5,0.8),tchange=c(0,3))
p |
a vector of probabilities |
rate |
piecewise constant event rate |
tchange |
time points at which event rate changes. This must be an strictly increasing sequence starting from zero. rate and tchange must have the same length. |
More details
q |
quantiles |
This provides the quantile function related to the piecewise exponetial distribution
Xiaodong Luo
Luo, et al. (2017)
piecewise exponential
p<-seq(0,1,by=0.1)
rate<-c(0.6,0.3)
tchange<-c(0,1.75)
pweq<-qpwe(p=p,rate=rate,tchange=tchange)
pweq
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.