getDerivs: Extract the derivatives of an object

View source: R/classes.R

getDerivsR Documentation

Extract the derivatives of an object

Description

Extract the derivatives of an object

Usage

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.


dkaschek/dMod documentation built on April 23, 2024, 5:18 p.m.