inst/apps/distribution_poisson/server.R

server = function(input, output, session) {
  
     add_server('distribution_poisson_functions', env = environment())
  
output$poifunc  <- renderUI({ add_rmd('poi-func.Rmd') })

output$poiprops <- renderUI({ add_rmd('poi-props.Rmd') }) 
}

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.