[R] computing functions with Euler's number (e^n)

Berend Hasselman bhh at xs4all.nl
Thu Jul 14 19:50:01 CEST 2011


warmstron1 wrote:
> 
> I solved this in two ways:
> 1. "**" was necessary to raise (-dummy + 1) to the power of B.  "^"
> doesn't work here, for some reason.
> ...
> 

Using which version R on which platform?

Most strange. The help page for "Arithmetic operators" clearly states in a
Note that  "** is translated in the parser to ^, ..."

In R-2.13.1 on Mac OS X I see no difference between results for ^ and **.

Berend

--
View this message in context: http://r.789695.n4.nabble.com/computing-functions-with-Euler-s-number-e-n-tp3655205p3668256.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list