Hello!

Is there anyone who can help me to this the error bellow? Ijust
started using R recently. Thank you


while sum(abs(Sb-D-Sc-t(Pi))>1E-5{Error: unexpected symbol in "while
sum">     >     k=K+1>     >     for(i in 1:nrow(c1)){+         +
   for(j in 1:ncol(c1)){+             +             if(Sb!=0){+
         +                 T2=D*T/Sa+                 +
}else {+                 +                 T2=0       +
 +             }+             +             Sc=sum(t(T))+
+             if(Sc!=0){+                 +
T3=Pi*T2/Sc+                 +             }else {+                 +
               T3=0+                 +             }+
Sb=sum(T)+             +         }+     }>     >     K[1] 0

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to