R/const_hazard.R

const_hazard <-
function(r, lambda) {
  return(1/lambda * rep(1,r))
}

Try the onlineCPD package in your browser

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

onlineCPD documentation built on Jan. 15, 2017, 7:22 p.m.