neg: A negative Function

View source: R/misc.R

negR Documentation

A negative Function

Description

This function allows you to create a negative number when it might accidentally create an assignment operator.

Usage

neg(x)

Examples

x < -5 # this actually assigns -5 to x, rather than
Checking whether x is less than -5.
neg()

jthomasmock/tomtom documentation built on Nov. 17, 2022, 12:31 p.m.