[R] problem with simple if() statement

Alexandre Santos Aguiar asaguiar at spsconsultoria.com
Mon Feb 6 11:05:35 CET 2006


Em Seg 06 Fev 2006 04:22, Norman Goodacre escreveu:
>   if (seq[i] = "A") m <- trans[1,]

I'll guess that it is the use you are making of the name 'seq'. :-)
'seq' is an R function. Try some other name.


-- 

          Alexandre




More information about the R-help mailing list