data(DoignonFalmagne7)
m <- blim(DoignonFalmagne7$K, DoignonFalmagne7$N.R)
predict(m)
predict(m, newdata = c("00100", "10100", "01111"), as.pattern = FALSE)
m <- slm(DoignonFalmagne7$K, DoignonFalmagne7$N.R)
predict(m, newdata = "00100")
data(endm)
m <- blim(endm$K, endm$N.R)
predict(m, type = "probs", method = "MD")
cbind(
observed = names(m$N.R),
min = predict(m, method = "MD", ties.method = "min"),
max = predict(m, method = "MD", ties.method = "max"),
rnd = predict(m, method = "MD", ties.method = "random")
) |> print(quote = FALSE)
Run the code above in your browser using DataLab