Advertisement
Guest User

Untitled

a guest
May 24th, 2016
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. library(shiny)
  2.  
  3.  
  4. shinyServer(function(input, output) {
  5.  
  6.  
  7.  
  8. output$myhist <- renderPlot({
  9. colm<-as.numeric(input$var)
  10. hist(HNP[,colm],col=input$color,breaks=seq(0,max(HNP[,colm]),l=input$bins+1),
  11. ,main="Babies' death rate (1/1000)",xlab=names(HNP[colm]),ylab="death rate"
  12.  
  13. )})})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement