0

R - how to get specific rows from a dataset?

Hello together, how can I select specific rows from a dataset? My code: df <- mtcars My Problem: I only want cars, which have >50 hp. Is there any function to solve this?

13th Dec 2021, 12:09 PM
ftk46kr
1 Odpowiedź
+ 6
Fatih , have a look at the lesson 31.1 in R tutorial. there is an example that is very similar to your question.
13th Dec 2021, 3:52 PM
Lothar
Lothar - avatar