Learn R Programming

mcmcsae (version 0.6.0)

tabMatrix-indexing: S4 method for row and column subsetting a 'tabMatrix'

Description

S4 method for row and column subsetting a 'tabMatrix'

Usage

# S4 method for tabMatrix,index,missing,logical
[(x, i, j, ..., drop = TRUE)

# S4 method for tabMatrix,missing,index,logical [(x, i, j, ..., drop = TRUE)

Arguments

x

a tabMatrix object.

i

integer vector indicating the rows to select. Not used for column subsetting.

j

integer vector indicating the columns to select. Not used for row subsetting.

...

not used.

drop

whether to return a vector in case of a single selected row or column.

Value

the selected rows/columns as a tabMatrix or a vector.