getnamespace | R Documentation |
getnamespace searches the loaded NameSpaces and returns the name of the NameSpace or package for the input function. This is used in by 'network'. If the namespace is not loaded this will not be able to be found.
getnamespace(fun)
fun |
the name of the function of interest. It must be of class character, which can be obtained using 'getname' |
the name of the loaded NameSpace or package within which a function can be found.
## Not run:
getnamespace(getname(lm))
getnamespace(getname(anova))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.