> a
control
treated [,1] [,2]
[1,] 20 40
[2,] Inf 10
> subset(a, subset = c(TRUE, TRUE), select = c(TRUE, FALSE))
control
treated [,1]
[1,] 20
Believe this is related to the lack of names on the dimensions.
> b
control
treated H I
A 0.09781492 0.05678264
B Inf Inf
> subset(b, subset = c(TRUE, TRUE), select = c(TRUE, FALSE))
control
treated H
A 0.09781492
B Inf
Believe this is related to the lack of names on the dimensions.