[R] Problem with

Haszun crazystef13 at tlen.pl
Fri Nov 9 18:52:28 CET 2012


Hi, can someone tell me what is wrong in this function:

ilecyfr=function(x){
if (x=0){ 
return(1)
} else {
k=0
while (abs(x)/10^k >0) {
k=k+1
} return(k)
}}



--
View this message in context: http://r.789695.n4.nabble.com/Problem-with-tp4649082.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list