Extract the Second Derivatives of an Object
Usage
getDerivs2(x, ...)
# S3 method for class 'parvec'
getDerivs2(x, ...)
# S3 method for class 'prdframe'
getDerivs2(x, ...)
# S3 method for class 'prdlist'
getDerivs2(x, ...)
# S3 method for class 'list'
getDerivs2(x, ...)
# S3 method for class 'objlist'
getDerivs2(x, ...)Value
Depends on the class of x:
parvec: a 3D array[parameter, theta, theta].prdframe: aprdframewith the columntimeand one column per variable and pair of parameters, for the upper triangle including the diagonal.prdlist: aprdlistof suchprdframes.objlist: the Hessian matrix.list: a list with the result for each element.
An error is raised if x has no second derivatives; an objlist without
Hessian gives NULL.