#' @title Prediction whith histogram
#' @description this function
#'
#' @param hh This function estimates values associated with a sample of data using the histogram.
#' @param x sample of observations
#'
#' @return prediction
predict_hist = function(hh,x) {
res=NULL
for(i in 1:length(x))
res[i] = predict_hist_x(hh,x[i])
res
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.