R/spinner_data.R

Defines functions spinner_data

Documented in spinner_data

spinner_data <- function(regions, nsim=1000){
  sample(length(regions), size=nsim,
         prob=regions, replace=TRUE)
}

Try the TeachBayes package in your browser

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

TeachBayes documentation built on May 1, 2019, 9:17 p.m.