R/miscellaneous.R

Defines functions punif_compl qunif_compl pNULL_model

# this function returns the complement of the punif. It is needed because 
# there is no distribution that return 0 when LOWER = FALSE
punif_compl = function(...){
  1-punif(...)
}

qunif_compl = function(...){
  1-qunif(...)
}

pNULL_model = function(x, ...){
  return(rep(NA, length(x)))
}
leonardommarques/reliabilitytools documentation built on Aug. 1, 2019, 8:03 p.m.