Displaying 1 result from an estimated 1 matches for "bdind".
Did you mean:
  dind
  
2006 Jun 03
1
warnings messages from R when returning nothing
...m one of my statements because the behavior of R is different from Splus.
below, tempdata is a matrix of numbers and 
I have the following command which basically runs through the columns and returns the minimum index of the column
where an NA occurs.
badindices<-sapply(tempdata,function(x)min(bdind<-seq(along=x)[is.na(x)])))
The problems seems to be that, if the column doesn't have any NAs,
then I get the following warning : "no finite arguments to min :
returning inf". So, consequently, I get a lot of warnings
anfd -infs.
I dont have Splus right now but from the code I hav...