R/TPR.R

Defines functions TPR

####True Positive Rate
TPR=function(num,Trace)
{
  new1=Trace[,num]
  ratiosum=length(new1[which(new1>=1)])/(length(new1))
  
  finalratio=mean(ratiosum)
}

Try the BANFF package in your browser

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

BANFF documentation built on May 29, 2017, 11:59 a.m.