Skip to content
Prev 146847 / 398500 Next

How to extract rows from matrices consistently?

Feng, Ken wrote:
class(x[1,,drop=FALSE])

[1] "matrix"  # this is good (should be the default, perhaps)

vQ