Learn R Programming

cOde (version 1.1.1)

jacobianSymb: Compute Jacobian of a function symbolically

Description

Compute Jacobian of a function symbolically

Usage

jacobianSymb(f, variables = NULL)

Arguments

f

named vector of type character, the functions

variables

other variables, e.g. paramters, f depends on. If variables is given, f is derived with respect to variables instead of names(f)

Value

named vector of type character with the symbolic derivatives

Examples

Run this code
# NOT RUN {
jacobianSymb(c(A="A*B", B="A+B"))
jacobianSymb(c(x="A*B", y="A+B"), c("A", "B"))
# }

Run the code above in your browser using DataLab