Dtensor | R Documentation |
Forms tensor of (mixed) partial derivatives
Dtensor(expr, name=NULL, mu = NULL, m=1, evaluate = TRUE)
expr |
'expression' |
name |
character vector, giving the variable names with respect to which derivatives will be computed. If NULL all variables in the expression will be used |
mu |
optional: numeric vector, at which the derivatives are evaluated |
m |
order of derivative |
evaluate |
logical; if |
Dtensor |
(list) of unevaluated expression(s) if |
Jarrod Hadfield j.hadfield@ed.ac.uk
Rice, S.H. (2004) Evolutionary Theory: Mathematical and Conceptual Foundations. Sinauer (MA) USA.
evalDtensor
, Dexpressions
, D
f<-expression(beta_1 + time * beta_2 + u)
Dtensor(f,eval=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.