f1prime3 <-
function(xprime, mprime, eprime=1){
xprime[abs(xprime-apply(
cbind(xprime, mprime), 1, function(x){
mean(x[x > 0])})) > 2 * eprime] <- NA
return(xprime);
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.