GAM Rate Per Mile Shiny Code