logic: Logical Operators

Description Usage Arguments Details Value Communication Examples

Description

Binary logical operators.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
## S4 method for signature 'shaq,shaq'
e1 < e2

## S4 method for signature 'shaq,numeric'
e1 < e2

## S4 method for signature 'numeric,shaq'
e1 < e2

## S4 method for signature 'shaq,shaq'
e1 > e2

## S4 method for signature 'shaq,numeric'
e1 > e2

## S4 method for signature 'numeric,shaq'
e1 > e2

## S4 method for signature 'shaq,shaq'
e1 <= e2

## S4 method for signature 'shaq,numeric'
e1 <= e2

## S4 method for signature 'numeric,shaq'
e1 <= e2

## S4 method for signature 'shaq,shaq'
e1 >= e2

## S4 method for signature 'shaq,numeric'
e1 >= e2

## S4 method for signature 'numeric,shaq'
e1 >= e2

## S4 method for signature 'shaq,shaq'
e1 == e2

## S4 method for signature 'shaq,numeric'
e1 == e2

## S4 method for signature 'numeric,shaq'
e1 == e2

## S4 method for signature 'shaq,shaq'
e1 != e2

## S4 method for signature 'shaq,numeric'
e1 != e2

## S4 method for signature 'numeric,shaq'
e1 != e2

Arguments

e1, e2

A shaq or a numeric vector.

Details

For binary operations involving two shaqs, they must be distributed identically.

Value

A shaq.

Communication

Each operation is completely local.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
library(kazaam)
x = ranshaq(runif, 10, 3)
y = ranshaq(runif, 10, 3)

x < y

finalize()

## End(Not run)

RBigData/pbdSHAQ documentation built on Nov. 9, 2021, 9:10 a.m.