evald: 'eval' function.

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

Implemented form of eval function with dots argument.

Usage

1
2
evald(expr, envir = parent.frame(), 
enclos = if (is.list(envir) || is.pairlist(envir)) parent.frame() else baseenv(), ...)

Arguments

expr

an object to be evaluated.

envir

the environment in which expr is to be evaluated. May also be NULL, a list, a data frame, a pairlist or an integer as specified to sys.call.

enclos

Relevant when envir is a (pair)list or a data frame. Specifies the enclosure, i.e., where R looks for objects not found in envir. This can be NULL (interpreted as the base package environment, baseenv()) or an environment.

...

other arguments pass to expr.

Details

this function works exactly similar to eval except accept ... argument, it is a compatibility adjustment to SPLUS.

Value

The result of evaluating the object: for an expression vector this is the result of evaluating the last element.

Note

This is a specialisd for nlr package to imitate eval function for special uses, is not intended to be used by user.

Author(s)

Hossein Riazoshams, Apr 2014. Email: riazihosein@gmail.com URL http://www.riazoshams.com/nlr/

References

Riazoshams H, Midi H, and Ghilagaber G, 2018,. Robust Nonlinear Regression, with Application using R, Joh Wiley and Sons.

See Also

eval, nl.form

Examples

1
2
## The function is currently defined as
"evald"

nlr documentation built on July 31, 2019, 5:09 p.m.

Related to evald in nlr...