In this case, how about?
dimnames(mdat) <- NULL
Gundala Viswanath wrote:
Dear all,
I have the following structure of a matrix
str(mdat)
num [1:32268, 1:10] 0 0 0 0 0 0 0 0 0 0 ...
- attr(*, "dimnames")=List of 2
..$ : NULL
..$ : NULL
How can I destroy the attributes such that it simp
Dear all,
I have the following structure of a matrix
> str(mdat)
num [1:32268, 1:10] 0 0 0 0 0 0 0 0 0 0 ...
- attr(*, "dimnames")=List of 2
..$ : NULL
..$ : NULL
How can I destroy the attributes such that it simply
gives:
> str(mdat)
num [1:32268, 1:10] 0 0 0 0 0 0 0 0 0 0 ...
- Gundal
2 matches
Mail list logo