R/weights_hist.R

Defines functions weights_hist

Documented in weights_hist

#' Histogram of weights
#' 
#' @export 
#' @param w vector of weights. 
#' @param title character string. The title for the plot.
#'
weights_hist <- function(w, title = NULL) {
  hist(w, xlab = "weights", ylab = NULL, main = title, col = "skyblue", yaxt = "n")
}
jgabry/RHhelpers documentation built on Feb. 22, 2024, 12:56 p.m.