inst/shiny_app_JM/global.R

library("shiny")
library("JMbayes")
library("splines")
options(shiny.maxRequestSize = 3000*1024^2)

actionButton <- function (inputId, label, style = "" , additionalClass = "") {
    if (style %in% c("primary","info","success","warning","danger","inverse","link")) {
        class.style <- paste("btn",style,sep="-")
    } else class.style = ""
    
    tags$button(id = inputId, type = "button", 
                class = paste("btn action-button", class.style, additionalClass), label)
}

Try the JMbayes package in your browser

Any scripts or data that you put into this service are public.

JMbayes documentation built on Jan. 9, 2020, 9:07 a.m.