getDerivs: Extract the derivatives of an object

Description Usage Arguments Value

View source: R/classes.R

Description

Extract the derivatives of an object

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
getDerivs(x, ...)

## S3 method for class 'parvec'
getDerivs(x, ...)

## S3 method for class 'prdframe'
getDerivs(x, ...)

## S3 method for class 'prdlist'
getDerivs(x, ...)

## S3 method for class 'list'
getDerivs(x, ...)

## S3 method for class 'objlist'
getDerivs(x, ...)

Arguments

x

object from which the derivatives should be extracted

...

additional arguments (not used right now)

Value

The derivatives in a format that depends on the class of x. This is parvec -> matrix, prdframe -> prdframe, prdlist -> prdlist, objlist -> named numeric.


dMod documentation built on Jan. 27, 2021, 1:07 a.m.