Learn R Programming

memuse (version 4.2-3)

Comparators: Comparators

Description

Binary comparators for memuse objects.

Usage

# S4 method for memuse,memuse
==(e1, e2)

# S4 method for memuse,memuse <(e1, e2)

# S4 method for memuse,memuse <=(e1, e2)

# S4 method for memuse,memuse >(e1, e2)

# S4 method for memuse,memuse >=(e1, e2)

# S4 method for memuse,memuse !=(e1, e2)

# S4 method for memuse,numeric ==(e1, e2)

# S4 method for memuse,numeric <(e1, e2)

# S4 method for memuse,numeric <=(e1, e2)

# S4 method for memuse,numeric >(e1, e2)

# S4 method for memuse,numeric >=(e1, e2)

# S4 method for memuse,numeric !=(e1, e2)

# S4 method for numeric,memuse ==(e1, e2)

# S4 method for numeric,memuse <(e1, e2)

# S4 method for numeric,memuse <=(e1, e2)

# S4 method for numeric,memuse >(e1, e2)

# S4 method for numeric,memuse >=(e1, e2)

# S4 method for numeric,memuse !=(e1, e2)

Value

Returns a memuse class object.

Arguments

e1, e2

memuse, numeric, or object_size objects.

Details

Comparisons to numeric values are done at the byte level.

See Also

Constructor, memuse-class

Examples

Run this code
if (FALSE) {
x <- mu(2000)
y <- mu(3000)

x < y
x <= y
x > y
x >= y
x == y
x != y
}

Run the code above in your browser using DataLab