#' Bootstrap boot infit.mnsq CI Function
#'
#' This function calculates bootstrap item infit 95% Confidence Interval
#' using 'boot' package
#' @param data: Data Frame
#'
#' @return: boot infit.mnsq CI Function
#'
#' @examples
#' #Not run
#' #infit.conf(data)
#'
#' @importFrom TAM tam.mml msq.itemfit
#' @importFrom boot boot.ci
#' @export
infit.conf <- function(object){
boot.infit<- boot.infit(object)
result=c()
for (i in 1:ncol(object)) {
ci=boot::boot.ci(boot.infit, index = i,
type = "basic")
result=c(result, ci)
}
return(result)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.