R/whole_prediction.R

Defines functions whole_prediction

whole_prediction <-
function(info,
                             item,
                             params,
                             X){
  
  params_hat <- c()
  n_pred     <- nrow(X)
  for(i in 1:n_pred){
    params_hat[i] <- one_prediction(info,item,params,X[i,])
  }
  return(params_hat)
}

Try the DIFtree package in your browser

Any scripts or data that you put into this service are public.

DIFtree documentation built on July 8, 2020, 6:49 p.m.