# Return the 5-th derivative of tau at x = 1
derivative.tau(x = 1, a = 1, d = 3, k = 5)
# Return the value of tau at x = 1.
derivative.tau(x = 1, a = 1, d = 3, k = 0)
# Vectorized version
derivative.tau(x = c(1,3), a = 1, d = 3, k = 5)
Run the code above in your browser using DataLab