[R] exponent confusion

From: tom wright <tom_at_maladmin.com>
Date: Wed 22 Feb 2006 - 21:14:25 EST


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?



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Feb 23 03:22:29 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:39 EST