[Rd] Minor bug in lillie.test from nortest package (PR#9784)
dsterling at abac.com
dsterling at abac.com
Sat Jul 7 23:44:36 CEST 2007
Full_Name: David Sterling
Version: 2.4.0
OS: OS X
Submission from: (NULL) (64.81.102.199)
lillie.test() dies without grace producing the error message: 'Error in if
(pvalue > 0.1) { : missing value where TRUE/FALSE needed' when passed a vector
of identical values.
Examples:
> lillie.test(c(0,0,0,0,0,0,0,0,0,0))
Error in if (pvalue > 0.1) { : missing value where TRUE/FALSE needed
> lillie.test(c(1,1,1,1,1,1,1,1,1,1))
Error in if (pvalue > 0.1) { : missing value where TRUE/FALSE needed
> lillie.test(c(1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1,1.1))
Error in if (pvalue > 0.1) { : missing value where TRUE/FALSE needed
>
I see that the package maintainer is Juergen Gross, but I am new to R and I
haven't figured out how to contact him directly.
Thanks,
David
More information about the R-devel
mailing list