inst/apps/maximum_likelihood/ui.R

ui = navbarPage(title = 'Maximum Likelihood',
                collapsible = T, 
                position = 'fixed-top',
                theme  = add_theme(getShinyOption('theme')),
                header = add_css(),
                footer = (),

tabPanel('Background',
         uiOutput('mleback1', class = 'ta-text')),

tabPanel('Simple Example',  
         uiOutput('example1_1', class = 'ta-text'),
           add_ui('maximum_likelihood_1obs'),
         uiOutput('example1_2', class = 'ta-text'),
           add_ui('maximum_likelihood_2obs'),
         uiOutput('example1_3', class = 'ta-text')),

tabPanel('Silly Example',
         uiOutput('example2_1', class = 'ta-text'),
           add_ui('maximum_likelihood_graphical_exp'),
         uiOutput('example2_2', class = 'ta-text'),
           add_ui('maximum_likelihood_numerical_exp'),
         uiOutput('example2_3', class = 'ta-text'),
           add_ui('maximum_likelihood_numerical_other')),

tabPanel("A Simulation",
           add_ui('maximum_likelihood_simulation')),

tabPanel('Details',
         uiOutput('details', class = 'ta-text')))

Try the teachingApps package in your browser

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

teachingApps documentation built on July 1, 2020, 5:58 p.m.