not: not

Description Usage Arguments Value Examples

View source: R/code.R

Description

Simple function represents the not logic gate & an equivallent for the '!' sign in R & most preogramming languages. Throws an error if the input isn't a logical variable.

Usage

1
not(x)

Arguments

x

The logical to be inverted.

Value

A logical vector, the inverse of the logical parameter x.

Examples

1

MuhammadEzzatHBK/rgates2 documentation built on Oct. 30, 2020, 4:23 a.m.