search for: isoreg2

Displaying 1 result from an estimated 1 matches for "isoreg2".

Did you mean: isoreg
2007 Dec 14
1
segfault isoreg with NAs
...isoreg(x, y) ## error message: Error in if (!isOrd) { : missing value where TRUE/FALSE needed Please find below a (temporary) patch (against Revision 43692) for both the R source and the help file. Kind regards, Tobias ### patch isoreg.R ### --- isoreg.R 2007-12-14 19:07:47.000000000 +0100 +++ isoreg2.R 2007-12-14 19:11:20.000000000 +0100 @@ -18,6 +18,9 @@ ## isoreg <- function(x, y=NULL) { + if (any(is.na(x))) stop("x may not contain NA values") + if (any(is.na(y))) stop("y may not contain NA values") + xy <- xy.coords(x,y) x <- xy$x is...