
Last chance! 50% off unlimited learning
Sale ends in
inverse
is a S3 generic method for inverting an R operator in the
mathematical sense. Presently, inverses are defined for relational
operators, i.e. changing >
to <=< code=""> etc.
inverse(x, ...)
inverse
returns the inverse in the same form as the x
argument. Thus, if a name is provided, a name is returned. If a function is
provided, a function is returned.
operators
especially operators(type="relational"))
## Not run:
# inverse( as.name( '!=' ) )
# inverse( `==` )
# ## End(Not run)
Run the code above in your browser using DataLab