> On 17 Jul 2017, at 07:27, Jeremie Juste wrote:
>
>
> Hello,
>
> I have some trouble understanding why !b &&TRUE is TRUE. Do you have an idea?
>
>
>> b <- matrix(c(0,1,1,0,1,0),2)
>
>> !b
> [,1] [,2] [,3]
> [1,] TRUE FALSE FALSE
> [2,] FALSE TRUE TRUE
>> !b &&TRUE
> [1] TRUE
>
Hello,
I have some trouble understanding why !b &&TRUE is TRUE. Do you have an idea?
> b <- matrix(c(0,1,1,0,1,0),2)
> !b
[,1] [,2] [,3]
[1,] TRUE FALSE FALSE
[2,] FALSE TRUE TRUE
> !b &&TRUE
[1] TRUE
Best regards,
Jeremie
__
R-help@r-
2 matches
Mail list logo