bold_labels <- function(x) {
ifelse(x == "RE Estimate", "<b>RE Estimate</b>", x)
}
get_significance_stars <- function(pval) {
sapply(pval, function(x) {
if (is.na(x)) {
""
} else if (x < 0.001) {
"***"
} else if (x < 0.01) {
"**"
} else if (x < 0.05) {
"*"
} else {
""
}
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.