I'm trying to alter the functionality of a few commands in a package in R. It's easy enough to see the source of the commands. However the function calls other functions that are in the package namespace. These functions are not exported objects. So how can I access them?
Specific example:
How would I access the asCall() function that is used in copula::rmvdc?
require(copula)
copula::rmvdc
getAnywhere("asCall")
so as.Call()
exists in the copula package, but how do I access it?
> copula::asCall
Error: 'asCall' is not an exported object from 'namespace:copula'