Get a vector of the names of an object named by the names themselves. This is useful with lapply when passing names of objects as it ensures that the output list is also named.
namedNames(g)
vector with names of object
an objects on which we can call names()