Apply a single argument function to its argument.

# S4 method for rq_u_fn_w,data.frame
ApplyTo(f, x, env = parent.frame())

# S4 method for rq_u_fn_w,UnaryFnList
ApplyTo(f, x, env = parent.frame())

# S4 method for rq_u_fn_w,UnaryFn
ApplyTo(f, x, env = parent.frame())

Arguments

f

object of S4 class derived from UnaryFn.

x

argument.

env

environment to work in.

Value

f(x) if x is not a UnaryFn else f composed with x.