as1524933@sapo.pt wrote:
>Hello again,
>
>i'm trying do to the fisrt example you sent me but it as this error:
>
>
>
>>data(meaudret)
>>mil1<-meaudret$mil[meaudret$plan$dat="spring",]
>>
>>
>Error: syntax error
>
>Why?!?!
>
>
because you have a syntax error, as said by your computer... ;-)
In R, = is used for assignment, == for test
try:
mil1<-meaudret$mil[meaudret$plan$dat=="spring",]
>Thanks
>Miguel
>___________________________________________________________________
>
>O SAPO já está livre de vírus com a Panda Software, fique você também!
>Clique em: http://antivirus.sapo.pt
>
>
>
>
>
-- Stéphane DRAY (dray@biomserv.univ-lyon1.fr ) Laboratoire BBE-CNRS-UMR-5558, Univ. C. Bernard - Lyon I 43, Bd du 11 Novembre 1918, 69622 Villeurbanne Cedex, France Tel: 33 4 72 43 27 57 Fax: 33 4 72 43 13 88 http://www.steph280.freesurf.fr/
This archive was generated by hypermail 2b30 : Thu Oct 20 2005 - 18:01:12 MEST