import | R Documentation |
Import a single function from a package
import(pkg, fun, overwrite = FALSE)
pkg |
String, name of the package |
fun |
String, fun name of the function |
overwrite |
Logical, if TRUE and |
None, called for side effects
# assigns `add` -- test with caution
import("magrittr", "add")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.