Search notes:

R function: substitute

substitute(x + y/sin(z), list('y' = 42))
#
# x + 42/sin(z)
Github repository about-R, path: /functions/substitute/env.R

typeof, class, mode

The type of the value returned by substitute is "language", the class and mode is "call":
s <- substitute( sin(x) ^ 2 + cos(y) )

typeof(s)
#
# [1] "language"

class (s)
#
# [1] "call"

mode  (s)
#
# "call"
Github repository about-R, path: /functions/substitute/typeof-class-mode.R
These returned strings are the same as those returned by quote.

See also

Index to (some) R functions

Index