R: Extract or Replace

Extract,big.matrix {bigmemory} | R Documentation

## Extract or Replace

### Description

Extract or replace big.matrix elements

### Usage

    ## S4 method for signature 'big.matrix,ANY,ANY,missing'
    x[i, j, drop]

    ## S4 method for signature 'big.matrix,ANY,ANY,logical'
    x[i, j, drop]

    ## S4 method for signature 'big.matrix,missing,ANY,missing'
    x[i, j, drop]

    ## S4 method for signature 'big.matrix,missing,ANY,logical'
    x[i, j, drop]

    ## S4 method for signature 'big.matrix,ANY,missing,missing'
    x[i, j, ..., drop = TRUE]

    ## S4 method for signature 'big.matrix,ANY,missing,logical'
    x[i, j, drop]

    ## S4 method for signature 'big.matrix,missing,missing,missing'
    x[i, j, drop]

    ## S4 method for signature 'big.matrix,missing,missing,logical'
    x[i, j, drop]

    ## S4 method for signature 'big.matrix,matrix,missing,missing'
    x[i, j, drop]

    ## S4 replacement method for signature 'big.matrix,numeric,numeric,ANY'
    x[i, j] <- value

    ## S4 replacement method for signature 'big.matrix,numeric,logical,ANY'
    x[i, j] <- value

    ## S4 replacement method for signature 'big.matrix,logical,numeric,ANY'
    x[i, j] <- value

    ## S4 replacement method for signature 'big.matrix,logical,logical,ANY'
    x[i, j] <- value

    ## S4 replacement method for signature 'big.matrix,logical,character,ANY'
    x[i, j] <- value

    ## S4 replacement method for signature 'big.matrix,numeric,character,ANY'
    x[i, j] <- value

    ## S4 replacement method for signature 'big.matrix,missing,missing,ANY'
    x[i, j] <- value

    ## S4 replacement method for signature 'big.matrix,missing,numeric,ANY'
    x[i, j] <- value

    ## S4 replacement method for signature 'big.matrix,missing,logical,ANY'
    x[i, j] <- value

    ## S4 replacement method for signature 'big.matrix,numeric,missing,numeric'
    x[i, j, ...] <- value

    ## S4 replacement method for signature 'big.matrix,logical,missing,numeric'
    x[i, j, ...] <- value

    ## S4 replacement method for signature 'big.matrix,numeric,missing,matrix'
    x[i, j, ...] <- value

    ## S4 replacement method for signature 'big.matrix,logical,missing,matrix'
    x[i, j, ...] <- value

    ## S4 replacement method for signature 'big.matrix,character,character,ANY'
    x[i, j] <- value

    ## S4 replacement method for signature 'big.matrix,missing,character,ANY'
    x[j] <- value

    ## S4 replacement method for signature 'big.matrix,character,missing,ANY'
    x[i] <- value

    ## S4 replacement method for signature 'big.matrix,missing,missing,numeric'
    x[i, j] <- value

    ## S4 replacement method for signature 'big.matrix,matrix,missing,numeric'
    x[i, j] <- value

### Arguments

`x` | A `big.matrix object`
`i` | Indices specifying the rows
`j` | Indices specifying the columns
`drop` | Logical indication if reduce to minimum dimensions
`...` | Additional arguments
`value` | typically an array-like R object of similar class

[Package bigmemory version 4.5.36 Index]