You could find here the server.R and ui.R codes for the shiny application (Triglyceride/HDL Ratio Calculator)