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