Description Usage Arguments Examples
A utility function that tests whether an object has been defined by the given name in the specified environment.
1 | is_defined(name, envir = .GlobalEnv)
|
name |
the name of the object to search for |
envir |
the environment to search in; defaults to global |
1 2 | x <- 42
is_defined("x") #TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.