Dear everyone, the following is obviously used to compute the nth derivative, which seems to work (deriv(sqrt(1 - x^2),x,n))
However, before using this, I wanted to make sure it does what I think it does but can't figure it out when reading the ?deriv info or any other documentation on deriv for that matter: deriv(expr, namevec, function.arg = NULL, tag = ".expr", hessian = FALSE, ...) This doesn't seem to include an "order of derivative" argument, in fact, in the examples section, it is outlined, how one can build a higher deriv. function oneself... Any hints are much appreciated! alex -- View this message in context: http://r.789695.n4.nabble.com/higher-derivatives-using-deriv-tp4256118p4256118.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.