Re: [R] Comparison conditionals when extracting from data.frame not working reliably

2016-09-09 Thread Ista Zahn
Use & instead of && --Ista On Sep 9, 2016 8:12 AM, "Matti Viljamaa" wrote: > I’m getting strange behaviour when trying to extract rows from a > two-column data.frame with double values. > > My data looks like: > >mom_iq kid_score > 1 121.1175065 > 289.3618898 > 3

[R] Comparison conditionals when extracting from data.frame not working reliably

2016-09-09 Thread Matti Viljamaa
I’m getting strange behaviour when trying to extract rows from a two-column data.frame with double values. My data looks like: mom_iq kid_score 1 121.1175065 289.3618898 3 115.4432085 499.4496483 … and I’m testing extracting rows that have mom_