Displaying 1 result from an estimated 1 matches for "57abbf40".
2008 Oct 03
2
Question about quantile.default
Hi all,
I am running into a snag using quantile function in stats. Basically, I
don't understand why the loop below throws the error that it does.
test.data <- rnorm(1000, 0, 1)
for (i in seq(0.00001, 0.001, 0.00001)){
test <- quantile(test.data, probs=seq(0,1,i));
print(i);
}
It runs fine from 1e-05 to 0.00024, but then throws the error
Error in quantile.default(test.data,