Advertisement
Guest User

server

a guest
Feb 19th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. shinyServer(
  2. function(input, output) {
  3.  
  4. output1 <- "Stupnice obsahuje noty:"
  5. note <- 1
  6. scale <- 1
  7.  
  8. for (i in 1:8) {
  9.  
  10.  
  11.  
  12.  
  13. index <- ((note + scales[scale,i] -2) %% 12) +1
  14. output1 <- c(output1, notes[index])
  15. }
  16.  
  17.  
  18.  
  19.  
  20. output$text1 <- renderText({
  21.  
  22. paste(output1)
  23. })
  24. }
  25. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement