Hi,

This might be me missing something painfully obvious but why does the cube root 
of the following produce an NaN?

> (-4)^(1/3)
[1] NaN
> 

As we can see:

> (-1.587401)^3
[1] -4

Thanks!

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

Reply via email to