Learn R Programming

ADtools (version 0.5.4)

Extract.dual: Extract parts of an object

Description

Extract parts of an object

Usage

Extract.dual(x, i, j, drop = FALSE)

# S4 method for dual,numeric,missing,ANY [(x, i, j, drop = FALSE)

# S4 method for dual,missing,numeric,ANY [(x, i, j, drop = FALSE)

# S4 method for dual,numeric,numeric,ANY [(x, i, j, drop = FALSE)

Arguments

x

A "dual" object.

i

integer; the row index.

j

integer; the column index.

drop

TRUE or FALSE; if TRUE, returns a vector when one dimension of the matrix is 1.