AlteraNivel <- function(EmpPerc, itens, niveis){
nivel <- EmpPerc[[1]]$level
nivel[itens] <- as.character(niveis)
for(i in 1:length(EmpPerc)){
EmpPerc[[i]]$level <- nivel
}
EmpPerc
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.