added ability to show multiple trend lines for each level of by using trend.by = TRUE