R/getLabel.R

Defines functions getLabel

getLabel = function(data,i,pos){
  labels = levels(data[,i+1]) # +1 because of y
  return(labels[pos])
}

Try the glm.predict package in your browser

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

glm.predict documentation built on Dec. 2, 2022, 5:12 p.m.