This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # initialization | |
| par(mar=c(3,3,3,3)) | |
| num <- 0 ; | |
| num1 <- 0 | |
| plot(0,0 , xlim=c(0,21) , ylim=c(0.5,6.5), col="white" , yaxt="n" , ylab="" , xlab="") | |
| #fill the graph | |
| for (i in seq(1,20)){ | |
| points(i,1 , pch=i , cex=3) | |
| points(i,2 , col=i , pch=16 , cex=3) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(shiny) | |
| ui<-fluidPage( | |
| titlePanel("Fibonacci"), | |
| sidebarLayout( | |
| sidebarPanel( | |
| helpText("Print the Fibonacci Number and it's inverse."), | |
| sliderInput('n', label="Number n for fibonacci:", min=0, max=40, value=5) | |
| ), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| library(shiny) | |
| library(reactR) | |
| library(shinydashboard) | |
| library(shinydashboardPlus) | |
| ui <- dashboardPage( | |
| dashboardHeader(title = "Mi página web responsiva"), | |
| dashboardSidebar( | |
| sidebarMenu( |