[R] weird behavior with the 3rd root....

Juan Manuel Barreneche jumanbar at gmail.com
Sun Oct 26 21:05:44 CET 2008


Well, this is what i got...

> -0.0841219200008394^(1/3)
[1] -0.438163696867656
> (-0.0841219200008394)^(1/3)
[1] NaN

and i don't have a clue of why this happens or how to avoid it, any suggestions?

thank you,
Juan



More information about the R-help mailing list