You need to use
p[IND] <- .C(stats:::C_pkstwo, length(x[IND]), p = x[IND],
instead of
p[IND] <- .C(C_pkstwo, length(x[IND]), p = x[IND],
--
View this message in context:
http://r.789695.n4.nabble.com/Kolmogorov-distribution-tp4639751p4644945.html
Sent from the R help mailing list archive a
e.g. WW>=1.334)
The second error in the function lillie.test was described
in
https://stat.ethz.ch/pipermail/r-devel/2007-July/046282.html
but this error is really harmless since in
p <- pnorm((x - mean(x))/sd(x))
the case sd(x)==0 was not caught.
Robert
2 matches
Mail list logo