Learn R Programming

vfunc (version 1.0)

Compare-methods: Compare methods for vf objects

Description

Wouldn't it be nice to say (f > g)(x) rather than the terrible, tedious and error-prone f(x) > g(x)? Well, now you can!

Arguments

Methods

signature(e1 = "ANY", e2 = "vf")

signature(e1 = "function", e2 = "vf")

signature(e1 = "vf", e2 = "ANY")

signature(e1 = "vf", e2 = "function")

signature(e1 = "vf", e2 = "vf")

Examples

Run this code
x <- seq(from=0, to=2*pi, len=100)
(Sin > Cos*Tan)(x)

Run the code above in your browser using DataLab