powered by
Get the parameter (vector) \(\theta\) (theta) of a copula, see setTheta for more background.
theta
setTheta
getTheta(copula, freeOnly = TRUE, attr = FALSE, named = attr)
parameter vector of the copula, a numeric vector, possibly with names and other attributes (depending on the attr
numeric
attr
and named arguments).
named
an R object of class "parCopula", e.g., "copula".
"parCopula"
"copula"
logical indicating that only non-fixed aka “free” parameters are to be returned (as vector).
logical indicating if attributes (such as lower and uppder bounds for each parameters) are to be returned as well.
attributes
logical if the resulting parameter vector should have names.
names
signature(copula = "parCopula")
a default method, returning numeric(0).
numeric(0).
signature(copula = "copula")
..
signature(copula = "acopula")
signature(copula = "khoudrajiCopula")
signature(copula = "mixCopula")
signature(copula = "rotCopula")
signature(copula = "Xcopula")
setTheta, its inverse.
showMethods("getTheta") stopifnot(all.equal( getTheta(setTheta(copClayton, 0.5)) # is 0.5 , 0.5))
Run the code above in your browser using DataLab