Git Product home page Git Product logo

my-first-shiny-app's Introduction

My first Shiny application.

You can find the application live HERE. In case it isn't live please mail me at [email protected]

This is my first shiny application. I started out learning R programming at the beginning of this year and wanted to deploy data science projects or financial analysis tools as a web application. Recently, I came across the Shiny package in R and wanted to start working with and deploy a basic and interactive line plot. Hence I plotted the movement of the Collatz Conjucture for various inputs from the user. The graph also allows the user to zoom in and see the values at various parts of the graph.

Collatz Conjecture

This simple problem is something that has troubled mathematicians for a long time. One famous Mathematician Paul Erdos quoted that Mathematics is not ripe enough for a problem like this.

The function goes as follows

$$f(x) = 3x + 1 if x% 2 = 1 f(x) = x/2 if x% 2 =0$$

The conjecture states that for any natural number you take you will always reach the 4, 2, 1, loop. This is because when you get to 4, you must divide by 2 and then for 2 you must divide to get 1 and since 1 is odd you must multiply it by three and add one to get four. Thus leaving us in a loop. To visualize this for numbers between 1-1000, I have drawn a plot that shows the movement of the function for the selected input.

Aknowledgements

I was inspired to take up this project as my first shiny app after watching a video posted by veritasium on Youtube. You can find their video here

I would also like to thank the Data Professor for helping me learn the basics of Shiny for my first Shiny application. I have followed most of this course to implement the code written here. You can find the Shiny playlist here

For learning about the zoom function please visit this link

my-first-shiny-app's People

Contributors

suryasashankgundepudi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.