AQCU-785: Small update to R code based on feedback from Lindsay.
AQCU-785: Small update to R code based on feedback from Lindsay.

thongsav-usgs/repgen,mhines-usgs/repgen,mhines-usgs/repgen,lindsaycarr/repgen,USGS-R/repgen,dpattermann-usgs/repgen,thongsav-usgs/repgen,lindsaycarr/repgen,USGS-R/repgen,zmoore-usgs/repgen,mhines-usgs/repgen,thongsav-usgs/repgen,lindsaycarr/repgen,dpattermann-usgs/repgen,USGS-R/repgen,dpattermann-usgs/repgen,zmoore-usgs/repgen,zmoore-usgs/repgen