Nothing
mdist <-
function(x,y){
m=length(x)
n=length(y)
if(m!=n){
cat("Error: dimensions do not match","\n")
return (-1)
}
out=0
for (i in 1:n){
deltax=as.numeric(I(x[i]!=0))
deltay=as.numeric(I(y[i]!=0))
out=out+as.numeric(I(deltax!=deltay))+(x[i]-y[i])^2
}
out=sqrt(out)
return(out)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.