2020年12月25日星期五

Why is 'cars %>% filter (cylinders == 8, mpg > 18)' returning an incorrect value in R?

My code is: cars %>% filter (cylinders == 8, mpg > 18) and is returning the results shown in the photo attached - https://i.stack.imgur.com/n86ZY.png.

The results are all correct aside from the top row which has a mpg of 9. Why is this result being included and how do I rectify this?

https://stackoverflow.com/questions/65453145/why-is-cars-filter-cylinders-8-mpg-18-returning-an-incorrect-value December 26, 2020 at 10:05AM

没有评论:

发表评论