`%+%` <- function(a, b) paste0(a, b)
`%ni%` <- Negate(`%in%`)
viewTable <- function(table) utils::View(table)
isColExist <- function(table, colname){
if (colname %in% names(table)) {return(TRUE)} else {return(FALSE)}
}
getColumIndex <- function(table, colname){
index = which( colnames(table)==colname)
return(index)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.