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

2011-07-14 Thread warmstron1
R 2.11.1 on Mac OS X. I didn't see the Note. -- View this message in context: http://r.789695.n4.nabble.com/computing-functions-with-Euler-s-number-e-n-tp3655205p3668849.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project

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

2011-07-14 Thread warmstron1
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. 2. I needed to use "as.complex" which greatly simplified my code and produces the correct response. (I had to revisit math that I had not used in many years.) W

Re: [R] Writing Complex Formulas

2011-07-14 Thread warmstron1
I resolved this issue. It appears that "^" won't work for this case, but "**" worked. I can't find any reference to this, but where "^" seems to be used to raise a value to a numerical function, "**" is used for a y raised to the power of x where x it a computation. -- View this message in co