[R] Differentiation

2007-08-20 Thread Shubha Vishwanath Karanth
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.


Re: [R] Differentiation

2007-08-20 Thread Uwe Ligges


Shubha Vishwanath Karanth wrote:
 Hi,
 
  
 
 Could anyone tell me what is the command used in R to do 
 
 1.Differentiation

See ?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@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.

__
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.


Re: [R] Differentiation

2007-08-20 Thread nalluri pratap
try 
   
  library(numDeriv)
?genD
   
  Pratap
  
Shubha Vishwanath Karanth [EMAIL PROTECTED] 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]]

__
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.


Re: [R] Differentiation

2007-08-20 Thread Paul Smith
On 8/20/07, nalluri pratap [EMAIL PROTECTED] wrote:
 try

   library(numDeriv)
 ?genD

   Pratap

 Shubha Vishwanath Karanth [EMAIL PROTECTED] 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

__
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.