max.abs <- function(x, na.rm=TRUE){ if(na.rm) x=x[!is.na(x)] midx=which.max(abs(x)) x[midx] }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.