R/lineslope.R

Defines functions lineslope

Documented in lineslope

lineslope <-
function(K) {
  line.slope=c()
  for (i in 1:K)
  {
    line.slope[i]=-tan((K+1-i)*pi/(2*(K+1)))
  }
  return(line.slope)
}

Try the Comp2ROC package in your browser

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

Comp2ROC documentation built on May 2, 2019, 3:35 p.m.