non numeric argument to binary operator
I'm not sure what you are trying to do: modulo arithmetic isn't exactly splitting a matrix into 2. Or even remotely. Regardless of the goal, when numbers are shown in quotes, it's a sure sign that R thinks they are strings, and thus non-number, just as the error message (not a warning) states. To help further, we'd need a clear statement of your goals and a reproducible example, as in the posting guide. Sarah
On Wed, Dec 17, 2008 at 4:57 PM, Baurzhan Aituov <aituov at gmail.com> wrote:
hi i have a huge matrix and want to split it into 2. with the command %%2. but i get this warning message: *"Error in mmat%%2 : non-numeric argument to binary operator*" here's the bit from my matrix: V1 V2 [1,] "Affymetrix:CompositeSequence:ATH1-121501:244901_at" "2.653" [2,] "Affymetrix:CompositeSequence:ATH1-121501:244902_at" "1.753" --
Sarah Goslee http://www.functionaldiversity.org