spotAssholes <- function(df) {
mindf <- c()
maxdf <- c()
difdf <- c()
for(i in 1:dim(df)[1]) {
difdf[i] <- diff(range(df[i,],na.rm = T))
}
strategy <- ifelse(difdf <= 0, 1, 0)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.