How to access hidden functions that are very well hidden

Viewed 4326

I am trying to modify the qgraph() function in the r package qgraph to make some drastic changes to the graphical parameters. But before attempting these modifications, I have accessed the source code for the function and reloaded it as a new function (ie qgraph2()) and run it on the big5 sample data. The error I receive reads could not find function "getArgs" and I suspect getArgs to be a hidden function. However, I cannot find getArgs() in the qgraph environment or the r global environment, and cannot find any record of it in any r documentation (?getArgs, ??getArgs), so I don't know where to call it from or how to find out that information. Moreover, I suspect there are more hidden functions lurking in the qgraph() function. So my question is two-fold: firstly, how can I find out where getArgs() is hidden and access it accordingly, and secondly, is there a way to allow my modified function qgraph2 to access all such hidden objects without calling them individually. Thank you.

1 Answers
Related