getGroupMembers
Find All the Functions Sharing a Particular Group

Description

Gets the members of a group generic.

Usage

getGroupMembers(group, recursive = FALSE, character = TRUE)

Arguments

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.
Value
returns a character vector or a list of function names.
See Also
setGeneric
Examples
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.

Package methods version 6.1.4-13
Package Index