extract_code

0th

Percentile

extract_code

gets the code of a function in text form.

Usage
extract_code(funcion, envir = parent.frame())
Arguments
funcion

the name of the function to be extracted.

envir

the environment in which expr is to be evaluated.

Aliases
  • extract_code
Examples
# NOT RUN {
extract_code("cat")
extract_code("plot")

parse(text = extract_code("plot"))

# }
Documentation reproduced from package regressoR, version 1.1.7, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.