R/distr.R

Defines functions distr

Documented in distr

distr <- function() {
  x <- runif(1)
  if (x < .33) {
    normal()
  } else if (x < .66) {
    binomial()
  } else {
    clt()
  }
}
pbreheny/bios4120 documentation built on April 7, 2023, 9:29 p.m.