Skip to contents

Subsetting method for matrix_int_names

Assignment method for matrix_int_names

Usage

# S3 method for class 'matrix_int_names'
x[i, j, i_names = NULL, j_names = NULL, drop = TRUE]

# S3 method for class 'matrix_int_names'
x[i, j, i_names = NULL, j_names = NULL] <- value

Arguments

x

A matrix_int_names object

i

Row indices (numeric), row names (character), or missing)

j

Column indices (numeric), column names (character), or missing)

i_names

Optional integer row names to subset by

j_names

Optional integer column names to subset by

drop

Logical indicating whether to drop dimensions

value

A value to assign to the subsetted matrix

Value

A subsetted matrix_int_names object