Hi Paul, I have managed to get the code to run and have figured out what the function does. Many thanks, it should do exactly what I need. Unfortunately I have now run into another problem. The code appears to run properly until the error below appears.
. . . . 60963 (-76170.4, -3300950) 20.0659 113 60984 (-76184.3, -3301000) 21.3390 126 61052 (-76198.2, -3301000) 19.0052 158 Error in while (is.null(res) && its < iter && n_is > 0 && ifelse(type == : missing value where TRUE/FALSE needed > Had a look at "google" and got no luck. The problem seems to be an internal coding, not sure if you have seen this before? Wesley Wesley Roberts MSc. Researcher: Earth Observation (Ecosystems) Natural Resources and the Environment CSIR Tel: +27 (21) 888-2490 Fax: +27 (21) 888-2693 "To know the road ahead, ask those coming back." - Chinese proverb -- This message is subject to the CSIR's copyright terms and conditions, e-mail legal notice, and implemented Open Document Format (ODF) standard. The full disclaimer details can be found at http://www.csir.co.za/disclaimer.html. This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks Transtec Computers for their support. _______________________________________________ R-sig-Geo mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-geo
