reformatCoefNames <- function(names){
names <- gsub(' ', '', names)
names <- gsub('Pr\\(>\\|z\\|\\)', 'pvalue', names)
names <- gsub('\\(Intercept\\)', 'intercept', names)
names <- gsub('Std.Error', 'stderror', names)
names <- tolower(names)
return(names)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.