R: Comparators

Comparators {memuse} | R Documentation

## Comparators

### Description

Binary comparators for `memuse` objects.

### Usage

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

    ## S4 method for signature 'memuse,memuse'
    e1 < e2

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

### Arguments

`e1, e2` | `memuse`, `numeric`, or `object_size` objects.

### Details

Comparisons to numeric values are done at the byte level.

### Value

Returns a `memuse` class object.

### See Also

`Constructor, memuse-class`

### Examples

    ## Not run:
    x <- mu(2000)
    y <- mu(3000)

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

    ## End(Not run)

[Package memuse version 4.1-0 Index]