[R] exponent confusion

tom wright tom at maladmin.com
Wed Feb 22 11:14:25 CET 2006


please excuse me if this ones a basic error

> y<-c(-0.7,-0.6,-0.5)
> -0.7^1.22
[1] -0.6471718

> y^1.22
[1] NaN NaN NaN

am I missing something important in my basic math?




More information about the R-help mailing list