#' Returns average of simulated values
#'
#' @param obs A vector containing observed values
#' @param sim A vector containing simulated values
#' @export
#'
#'
#'
avg_sim_function <- function(obs, sim){
mean(Qsim[which(!is.na(Qobs) & !is.na(Qsim))])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.