Hello everyone, so I'm new to programming and I would like to be help with a (basic) problem on Rstudio.

So, I have 3 vectors from a dataframe and I would like to create a new one of the same length (6000) based on the other 3. This new vector should provide me all the rows that comply my requirements.

How can I get all the data that are above one (>1) in the first colomn, under one (<1) in the second colomn and above one or Inf in the third one (>1 or Inf) and create a new vector that have a true or false value if the data comply the requirements ?

Thank you for your help !