inst/apps/bent_probplot/ui.R

ui = fluidPage(theme = SMRD::add_theme(getShinyOption("theme")), 
               SMRD::add_css(),
  
sidebarLayout(
  sidebarPanel(width = 5,
    shinyAce::aceEditor(fontSize = 16, 
                        wordWrap = T,
                        outputId = "bleedplot", 
                        mode = "r", 
                        theme = "github", 
                        height = "450px",
                        value = 
"par(family = 'serif',
     font = 2, cex = 1.75)

Bleed.ld <- 
frame.to.ld(bleed,
            response.column = 1, 
            censor.column = 2, 
            case.weight.column = 3,
            x.columns = c(4),
            time.units = 'Hours')

plot(Bleed.ld,
     distribution = NULL)"),

        actionButton("evalbleedplot", "Evaluate")),
        
        mainPanel(plotOutput("bleedplot"), width = 7)))
Auburngrads/SMRD documentation built on Sept. 14, 2020, 2:21 a.m.