Skip to content
Prev 385569 / 398503 Next

fusion of two matrices (numerical and logical)

A is not a matrix. I presume you meant B. If so:
[,1] [,2] [,3] [,4]
[1,]    1    6    0    0
[2,]    2    0    0    0
[3,]    3    0    0    0
[4,]    4    0    0   19
[5,]    5    0    0    0

Cheers,
Bert





On Sat, Sep 5, 2020 at 11:18 AM Vivek Sutradhara <viveksutra at gmail.com>
wrote: