View source: R/getObjectFunctionNames.R
getObjectFunctionNames | R Documentation |
Retrieve function names of an object (
see is.object
).
)
getObjectFunctionNames(object_o_1, allNames_b_1 = FALSE)
getClassTypicalFunctionNames(object_o_1)
object_o_1 |
the |
allNames_b_1 |
A |
Function getClassTypicalFunctionNames
gives back
function names that are related to
R class style, and automatically added by R to your class object.
A vector
of function names (character
).
Fabien Gelineau <neonira@gmail.com>
Maintainer: Fabien Gelineau <neonira@gmail.com>
# typical test
MyEnv <- function() {
self <- environment()
class(self) <- append('MyEnv', class(self))
f <- function(x_3, y_3n) x_3 + y_3n
self
}
getObjectFunctionNames(MyEnv())
# [1] "f"
# another test
getObjectFunctionNames(new.env())
#[1] NA
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.