Is there a function in R that finds all implemented signatures for a given generic function?
R中是否有一个函数可以找到给定泛型函数的所有已实现签名?
I am looking for something like:
我正在寻找类似的东西:
findSignatures("myFunction")
[1] "character"
[1]“人物”
1 个解决方案
#1
1
If you just want to see the signatures, you can use the showMethods
function:
如果您只想查看签名,可以使用showMethods函数:
showMethods("myFunction")
#1
1
If you just want to see the signatures, you can use the showMethods
function:
如果您只想查看签名,可以使用showMethods函数:
showMethods("myFunction")