Displaying 2 results from an estimated 2 matches for "whatgenerics".
2004 Jun 26
1
S4 group "Math", "getGroupMembers", "genericForPrimitive"
..."]
what <- what[what != "is.object"]
g <-unlist(sapply(what,
function(x){
f <- getGeneric(x)
if(is(f, "genericFunction"))f@group else NULL
}))
split(names(g), g)
}
getGroupMembers <- function(group, whatGenerics) {
groups <- if(missing(whatGenerics)) getGroups()
else getGroups(whatGenerics)
elNamed(groups, group)
}
2003 May 30
3
Missing 'getGroupMembers()'
Hi,
I'm trying to write a method such that my own classes can be used with the
groups like "Summary" and "Math", but when I tried to look for examples or
just wanted to get an idea of which functions are the members of a group, I
found out that the function "getGroupMembers" is not present... I couldn't
find an alternative function, if there is one. Does