Turns out yIntercept and slopes are doubles coming form R