powered by
Implements the regular scoping rules, but instead of returning the value associated with a name, it returns the environment in which it is located.
where(name, env = parent.frame())
name, as string, to look for
environment to start at. Defaults to the calling environment of this function.
x <- 1 where("x") where("t.test") where("mean") where("where")
Run the code above in your browser using DataLab