Any reason I'd get an error like this? Error in if (round(pos[o + 1]) == (pos[o + 1] - 0.4)) { : missing value where TRUE/FALSE needed
but when i do it individually, out of the for loop, > (round(pos[o+1])==(pos[o+1]-.4) ) 65 TRUE -- View this message in context: http://r.789695.n4.nabble.com/TRUE-FALSE-tp4636748.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list 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.