Extract.dual {ADtools}R Documentation

Extract parts of an object

Description

Extract parts of an object

Usage

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

## S4 method for signature 'dual,numeric,missing,ANY'
x[i, j, drop = FALSE]

## S4 method for signature 'dual,missing,numeric,ANY'
x[i, j, drop = FALSE]

## S4 method for signature '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.


[Package ADtools version 0.5.5 Index]