powered by
Linear approximation to function partial derivatives of arbitrary order and dimension.
nderive(fun, point = c(0), order = c(1), difference = 1e-04, area = c(0, 1, -1))
Numeric.
function. Arguments can be in sequence or single vector.
numeric vector. Where to evaluate the derivative.
numeric vector of orders for each variable.
numeric. A change in the variable that (by limit) is to approach zero.
numeric. One of {0,1,-1} representing two-sided, right-sided or left-sided limit, respectively.
Tomas Bacigal
nintegrate
##density of a bivariate Gumbel copula evaluated in point c(0.5,0.6) nderive(fun = function(x) pCopula(x,genGumbel(),gpar=3.5), point = c(0.5,0.6), order = c(1,1))
Run the code above in your browser using DataLab