The bquote() function in R is used to return quoted arguments or give a partial substitution of values of the arguments that are passed to it. The exception to this rule is when the values are wrapped in .()
bquote(expr)
The bquote() function takes a parameter value expr, which represents a language object.
The bquote() function returns a language object.
# creating a variablea <- 2# using the bquote() function to quote the argumnent passed to abquote(a == a)# using bquote() function for values wrapped in ".()"bquote(a == .(a))bquote(a == .(a + a))
a.a, using the bquote() function.bquote() function for the values wrapped in .().