Skip to content
Prev 56065 / 63424 Next

Subsetting row in single column matrix drops names in resulting vector

Hello,

Use drop = FALSE.

a[1, , drop = FALSE]
#     col1
#row1    1


Hope this helps,

Rui Barradas

?s 16:51 de 21/11/2018, Dmitriy Selivanov escreveu: