R/mfdr-power.R

Defines functions Fig6.4

Documented in Fig6.4

#' Reproduce Figure 6.4
#'
#' Reproduces Example Figure 6.4 from the book.  If you specify any options, your results may look different.
#'
#' @param out   Output of `Ex6.2()`
#'
#' @examples
#' \dontrun{
#' out <- Ex6.2()
#' Fig6.4(out)
#' }
#' @export

Fig6.4 <- function(out) {
  if (missing(out)) stop("You need to run the code in Ex6.2() first and pass it to Fig6.4()")
  # /man/Breheny2019/fig/sim-power.R
}
pbreheny/hdrm documentation built on Jan. 17, 2024, 8:53 p.m.