dphase | R Documentation |
Compute the probability density function (p.d.f.) for a given PH distribution
dphase(x, ph, log = FALSE, ...)
x |
A numeric vector of quantiles. |
ph |
An instance of PH distribution. |
log |
logical; if TRUE, densities y are returned as log(y) |
... |
Others. |
A vector of densities.
## create a PH with specific parameters (phdist <- ph(alpha=c(1,0,0), Q=rbind(c(-4,2,0),c(2,-5,1),c(1,0,-1)), xi=c(2,2,0))) ## p.d.f. for 0, 0.1, ..., 1 dphase(x=seq(0, 1, 0.1), ph=phdist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.