rphase | R Documentation |
Generate a sample from a given PH distribution.
rphase(n, ph, ...)
n |
An integer of the number of samples. |
ph |
An instance of PH distribution. |
... |
Others |
A vector of samples.
## 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))) ## generate 10 samples rphase(n=10, ph=phdist)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.