R/k_may.R

Defines functions k_may

Documented in k_may

k_may <-
function(xs,exclude=TRUE) {
  if(exclude) xs <- xs[xs!=0]
  out <- uniroot(fmay,c(0.001,0.999),xs)
  khat <- out$root
  return(khat)
}

Try the MLpreemption package in your browser

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

MLpreemption documentation built on Feb. 11, 2021, 5:07 p.m.