Need help with filter ( ): selects cases based on conditions on R studio

I am new with R and trying to use the filter function but its not giving me the answer. Here is the code and the print

head(filter(luthfidata, Country=="Canada"))

A tibble: 0 x 4

… with 4 variables: dt , AverageTemperature ,

AverageTemperatureUncertainty , Country

If someone could help me that would be much appreciated! thank you!

Hi!

It looks like you're using filter() correctly, but without seeing a sample of your data, it's hard to diagnose the problem. To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.