R/getLabel.R

Defines functions getLabel

getLabel = function(data,i,pos){
  labels = levels(data[,i+1]) # +1 because of y
  return(labels[pos])
}
benjaminschlegel/glm.predict documentation built on March 18, 2024, 6:46 a.m.