histmatch_def <- function(src,tgt){
ecdf.src <- ecdf(src)
x.s <- ecdf.src(src)
quantile(tgt, x.s, names = FALSE)
}
set.seed(20161031)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.