Warning message:

Jefesmenores<-Base.Personas %>% filter(V6=="Jefe" & V5<20)

What is wrong with that code?
Warning message:
In Ops.factor(V5, 20) : ‘<’ not meaningful for factors

Hi! Welcome to the community!

You overestimate our capabilities. We really have no information about the dataset to help you.

Can you please provide a REPRoducible EXample of your problem? It provides more specifics of your problem, and it helps others to understand what problem you are facing.

If you don't know how to do it, take a look at this thread:

If I have to make a guess, your V5 column is not recognised as a numeric column, rather as unordered factors. This may be the result of some character in that column, if you are using data frames without explicitly making stringsAsFactors = F

1 Like

Thank you very much, that´s the problem. I am using a data frame with marking stringAsFactor = F

I am learning to use R.

Best Regards

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