Coming across issues with packages/functions

Hi guys, so I'm trying to use copula on Rmd but am coming across a lot of issues with the formula:

  • Error: could not find function "pobs", for example

I have already installed the packages before by typing this:
u <- pobs(as.matrix(cbind(cree,yahoo)))[,1]
v <- pobs(as.matrix(cbind(cree,yahoo)))[,2]
selectedCopula <- BiCopSelect(u,v,familyset=NA)

Can someone please help me out? It is quite urgent.
Code based off this link:

Thanks in advance

besides installing the package you need to load it on each new R session you want to use it, run this line of code before using pos() function.


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.