R/build_proj_hist.R

Defines functions build_proj_hist

build_proj_hist <-
function(a, w) {
  d <- ncol(w)
  x <- a %*% w
  hists <- list()
  for (j in 1:d) {
    hists[[j]] <- histogram(x[,j], type="regular", plot=F, verbose=F)
  }
  return (hists)
}
liusi2019/btloda documentation built on Feb. 2, 2020, 5:31 a.m.