getGroupMembers(group, recursive = FALSE, character = TRUE)
group | the name of the group generic. |
recursive | a logical value. If TRUE, all the members of any intermediate group generic functions are returned recursively. If FALSE (the default), only the immediate group members are returned. |
character | a logical value. If TRUE (the default), the return value should be a character vector. If FALSE, the return value should be a list. |
getGroupMembers("Arith") # returns "+" "-" "*" "^" "%%" "%/%" "/"getGroupMembers("Ops") # returns "Arith" "Compare" "Logic"
getGroupMembers("Ops", recursive = TRUE) # returns "Arith" "Compare" "Logic" "+" "-" "*" ...
getGroupMembers("Arith", character = FALSE) # returns a list of function names.