Dist <- function(x0,y0,A,B,C){ return(abs(A*x0+B*y0+C)/sqrt(A^2+B^2)) }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.