Skip to content

Copula package

2 messages · Roslina Zakaria, Pfaff, Bernhard Dr.

#
Hi R-users,

I would like to use the copula package.? I? the package plus the mvtnorm and try to run the example given, but I got the following message:

install.packages(repos=NULL,pkgs="c:\\Tinn-R\\copula_0.8-3.zip")
norm.cop <- normalCopula(c(0.5, 0.6, 0.7), dim = 3, dispstr = "un")
t.cop <- tCopula(c(0.5, 0.3), dim = 3, dispstr = "toep",
df = 2, df.fixed = TRUE)
## from the wrapper
norm.cop <- ellipCopula("normal", param = c(0.5, 0.6, 0.7),
dim = 3, dispstr = "un")
package 'copula' successfully unpacked and MD5 sums checked
updating HTML package descriptions
Error: could not find function "normalCopula"
+ df = 2, df.fixed = TRUE)
Error: could not find function "tCopula"
+ dim = 3, dispstr = "un")
Error: could not find function "ellipCopula"


I'm not sure what is wrong.? Thank you so much for any help given.

Regards,

Roslina
#
Dear Roslina,

question: have you used 'library(copula)' somewhere before the call to 'normalCopula'?

Bernhard
*****************************************************************
Confidentiality Note: The information contained in this ...{{dropped:10}}