hi
liste=1:100
tout <- data.frame(aa=liste,bb=sqrt(liste))
tout[abs(tout[,2]-4.5)<0.5,]```
works very fine
but why does :
liste=1:100
tout <- data.frame(aa=liste,bb=sqrt(liste))
tout[tout[,2]>4 && tout[,2]<5<0.5,]
does not ?
hi
liste=1:100
tout <- data.frame(aa=liste,bb=sqrt(liste))
tout[abs(tout[,2]-4.5)<0.5,]```
works very fine
but why does :
liste=1:100
tout <- data.frame(aa=liste,bb=sqrt(liste))
tout[tout[,2]>4 && tout[,2]<5<0.5,]
does not ?
you can do
1<2
and you can do
2<3
but you cant do
1<2<3
try it ...
but you can do either of
(1<2)&(2<3)
(1<2)&&(2<3)
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.