0

Blockquote

Error in filter(Balance > 50, Balance < 100) : object 'Balance' not found
ekoam
  • 8,744
  • 1
  • 9
  • 22

2 Answers2

0

You need to pass it through something (dataframe) before you apply the filter

Try:

df %>%
  filter(Balance > 50, Balance < 100)

where df is your dataframe name

Andy
  • 191
  • 10
0

An option with subset

subset(df, Balance > 50  & Balance < 100)
akrun
  • 874,273
  • 37
  • 540
  • 662