Scott-Knott don't find the funtion "sk"

Hey I have some problem whith the package of ScottKnott. I installed but when I try to run, there is a mensage "> sk(test$y, test$trt)
Error in sk(test$y, test$trt) : don't find the funtion "sk"

You need uppercase. Try

SK(test$y, test$trt)

Thanks, but the problems stay...

image

This is a different issue. Your syntax is wrong.This seems to work

test <- data.frame(trt = factor(rep(letters[1:4], each = 5)),
y = c(1:5, 3:7, 6:10, 9:13))

tt <- with(test, 
           SK(y ~ trt)
)

You need to look at

?SK
2 Likes

Thanks, now is working well... Hugs