0

I am new to R.

I am trying to filter from a column called "Condition" in a dataframe named "completedResponses". I want all of the results to reside in a new dataframe called "lowPol".

> library(dplyr)
> low <- c("LowPolPenalty", "LowPolBonus", "LowPolSalary")
> lowPol <- filter(completedResponses,Condition %>% low)

What am I doing wrong?

Ronak Shah
  • 377,200
  • 20
  • 156
  • 213

0 Answers0