R/auc.R

Defines functions auc

auc=function(y,prob,w){
  if(missing(w))
    survival::concordance(y~prob)$concordance
  else
    survival::concordance(y~prob,weights=w)$concordance
}

Try the multiview package in your browser

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

multiview documentation built on April 3, 2023, 5:20 p.m.