extract_code {regressoR}R Documentation

extract_code

Description

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.

Examples

extract_code("cat")
extract_code("plot")

parse(text = extract_code("plot"))


[Package regressoR version 3.0.2 Index]