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