# A function to take in a list of tables and cap at the max and min index values
cap_index <- function(data_list, max = 10000, min = 1){
for(sp in names(data_list)){
data_list[[sp]][data_list[[sp]] > max] <- max
data_list[[sp]][data_list[[sp]] < min] <- min
}
return(data_list)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.