View source: R/algo_effectiveness_poly.R
algo_effectiveness_poly | R Documentation |
This function computes the actual and predicted effectiveness of a given algorithm for different tolerance values.
algo_effectiveness_poly(mod, num = 1)
mod |
A fitted |
num |
The algorithm number |
A list with the following components:
effective |
The |
predictedEff |
The area under the predicted effectiveness curve. |
actualEff |
The area under the actual effectiveness curve. |
#'@examples set.seed(1) x1 <- sample(1:5, 100, replace = TRUE) x2 <- sample(1:5, 100, replace = TRUE) x3 <- sample(1:5, 100, replace = TRUE) X <- cbind.data.frame(x1, x2, x3) mod <- pirtmodel(X) out <- algo_effectiveness_poly(mod$model, num=1) out
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.