#' subset by grep
#' @param df the dataframe to subset
#' @param grepstring the namestring of the colomns to grab, greplstyle
#' @export
subset_grep = function(df, grepstring)
{
df[, which(grepl(grepstring, names(df)))]
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.