##
## Iter data
IterData <- function(data, by="row"){
if(by=='row'){
output <- seq(nrow(data))
}
if(by=='column'){
output <- seq(ncol(data))
}
return(output)
}
##
## Iter list
IterList <- function(list){
intLength <- length(list)
eleIndex <- seq(intLength)
return(eleIndex)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.