Select rows in big data frame responding to one conditions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Select rows in big data frame responding to one conditions

Saulnier M
Good morning,

This post may seem simplistic and repetitive but I ask the question anyway. I have a large data set in which the rows are years and columns of individuals. I would like to select the lines in which at least one individual meets the condition: >=0.5.

Site1var[450:455,1:3]
    ROM_BOI_001_1_001 ROM_BOI_001_1_002 ROM_BOI_001_1_003
450         0.1574802        0.13638589         0.1668699
451         0.1537097        0.10100055         0.1572719
452         0.1428636        0.08409651         0.1581982
453         0.1492351        0.06556591         0.1646714
454         0.1268639        0.06377913         0.1497442
455         0.1149154        0.05811865         0.1418176


I thank you in advance