getS3methodParent: Find methods belonging to other classes

Description Usage Arguments Examples

Description

Find methods that apply to the object for each class of the object

Usage

1
getS3methodParent(object, FUN, class = 1, export = "all", value = FALSE)

Arguments

object

an object

FUN

the name of a generic method

class

the level of class

export

should all methods be output ("all") or only the first one ("first")

value

should the method be returned. Else its name will be returned.

Examples

1
2
3
m <- lvm.reduced(Y~X)
getS3methodParent(m, "coef")
getS3methodParent(m, "coef", value = TRUE)

bozenne/lava.reduce documentation built on May 13, 2019, 1:41 a.m.