sample_copulas | R Documentation |
Sample from multivariate copulas
rGaussCop(n, Sigma)
rtCop(n, Sigma, df)
rfgmCopula(n, d = 2, alpha)
n |
sample size |
Sigma |
in which each slice is a correlation matrix |
df |
degrees of freedom |
d |
dimension of copula |
alpha |
(vector of) parameter values |
Quicker than rCopula.
Note that rfgmCopula
only works for d = 2
.
A vector of the simulated random variables.
rGaussCop()
: Gaussian copula
rtCop()
: t-copula
rfgmCopula()
: FGM-copula
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.