Compare price to machine learning with r