Hi, Could anyone tell me what is the command used in R to do 1. Differentiation 2. Newton Raphson method (Numerical Analysis in general...) Are there any packages separately for this? Thanks for your help! BR, Shubha [[alternative HTML version deleted]]
Shubha Vishwanath Karanth wrote:> Hi, > > > > Could anyone tell me what is the command used in R to do > > 1. DifferentiationSee ?deriv and note that R is numerical software and only has limited capabilities for symbolic mathematics such as differentiation.> 2. Newton Raphson method (Numerical Analysis in general...)For numerical optimization see ?optim which implements several methods. Uwe Ligges> > > Are there any packages separately for this? > > > > Thanks for your help! > > > > BR, Shubha > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch 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.
try library(numDeriv) ?genD Pratap Shubha Vishwanath Karanth <shubhak@ambaresearch.com> wrote: Hi, Could anyone tell me what is the command used in R to do 1. Differentiation 2. Newton Raphson method (Numerical Analysis in general...) Are there any packages separately for this? Thanks for your help! BR, Shubha [[alternative HTML version deleted]] ______________________________________________ R-help@stat.math.ethz.ch 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. --------------------------------- [[alternative HTML version deleted]]
On 8/20/07, nalluri pratap <pratap_stat at yahoo.co.in> wrote:> try > > library(numDeriv) > ?genD > > Pratap > > Shubha Vishwanath Karanth <shubhak at ambaresearch.com> wrote: > Hi, > > > > Could anyone tell me what is the command used in R to do > > 1. Differentiation > 2. Newton Raphson method (Numerical Analysis in general...) > > > > Are there any packages separately for this?In addition, you can use Ryacas: ?Ryacas (google code name ryacas) is an R package that allows R users to access the yacas computer algebra system from within R. It can be used for computer algebra, exact arithmetic, ASCII pretty printing and R to TeX output.? Paul