R/generics.R
, R/method.R
getArgumentExclusions.Rd
Returns the names of arguments that should be excluded during instantiation of the specification.
getArgumentExclusions(object, ...)
# S4 method for class 'lcMethod'
getArgumentExclusions(object)
A character vector
of argument names.
This function only needs to be implemented if you want to avoid users from specifying redundant arguments or arguments that are set automatically or conditionally on other arguments.
setMethod("getArgumentExclusions", "lcMethodExample", function(object) {
c(
"doPlot",
"verbose",
callNextMethod()
)
})
Adding `callNextMethod()` to the end of the return vector enables inheriting exclusions from superclasses.
lcMethod getArgumentExclusions
Other lcMethod implementations:
getArgumentDefaults()
,
lcMethod-class
,
lcMethodAkmedoids
,
lcMethodCrimCV
,
lcMethodDtwclust
,
lcMethodFeature
,
lcMethodFunFEM
,
lcMethodFunction
,
lcMethodGCKM
,
lcMethodKML
,
lcMethodLMKM
,
lcMethodLcmmGBTM
,
lcMethodLcmmGMM
,
lcMethodMclustLLPA
,
lcMethodMixAK_GLMM
,
lcMethodMixtoolsGMM
,
lcMethodMixtoolsNPRM
,
lcMethodRandom
,
lcMethodStratify