R/CheckDeltaMult.R

#========== Check whether the delta is too large when Richardson Extrapolation is used ==========#
#========== Multiplicative Joint Modeling ==========#

CheckDeltaMult <- function (theta, delta) {
  
  Ysigma <- theta$Ysigma
  check1 <- (Ysigma - 2 * delta > 0)
  
  Bsigma <- theta$Bsigma
  check2 <- (Bsigma - 2 * delta > 0)

  return(all(c(check1, check2))) 
}

Try the JSM package in your browser

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

JSM documentation built on Sept. 4, 2020, 1:08 a.m.