Extract the First 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, ...)Value
Depends on the class of x:
parvec: the Jacobian matrix.prdframe: aprdframewith the columntimeand one column per pair of variable and parameter.prdlist: aprdlistof suchprdframes.objlist: the gradient, a named numeric vector.list: a list with the result for each element.
An error is raised if x has no first derivatives; an objlist without
gradient gives NULL.