Di Yang
January 30, 2016
Need to calculate your salary? Look no further than the Salary Calculator. Whether you need to figure out how much you would earn if you got a three percent increase, or if you got a series of monetary increases, you can find out on the Salary Calculator with just a few inputs and the click of a button. Try it today!
The Salary Calculator is pretty simple. The default value for Current Annual Salary is $100,000. If you're a data scientist, then that amount should be no surprise to you. It's only the sexiest job of the 21st century! Here's some sample code:
library(shiny)
numericInput("sal", label = h4("Current annual salary"), value = '100000')
<!–html_preserve–>
The Salary Increase Percentage slider is pretty cool as well. What if you only want to know what your new salary would be if you got a five percent raise? A 10 percent raise? That sounds pretty sweet!
sliderInput('percent', "Salary increase percentage:",
min = 0, max = 100, value = '3', step= 1)
So there you have it. Use your new powers for good.