#' @title Delete column in a dataframe or matrix
#'
#' @description Function to delete column in a dataframe or matrix
#'
#' @param tbl - dataframe or matrix from which to delete column
#' @param col - name of column to delete
#'
#' @return dataframe or matrix with column removed
#'
#'@export
#'
deleteCol<-function(tbl,col){
tblp<-tbl[,(names(tbl)!=col)];
return(tblp);
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.