R/copulas.R

Defines functions copulas

copulas <- function(theta,cop){
  switch (cop,
          "frank" = frankCopula(param = theta, dim = 2),
          "gaussian" = normalCopula(param = theta, dim = 2),
          "clayton" = claytonCopula(param = theta, dim = 2),
          "joe" = joeCopula(param = theta, dim = 2),
          "gumbel" = gumbelCopula(param = theta, dim = 2),
          "amh" = amhCopula(param = theta, dim = 2)
  )
}

Try the MLCOPULA package in your browser

Any scripts or data that you put into this service are public.

MLCOPULA documentation built on Oct. 24, 2024, 1:06 a.m.