Google News
logo
R - Quiz(MCQ)
All columns in a matrix must have the same mode and the _________ length.
A)
Same
B)
Different
C)
May be the same
D)
May be different

Correct Answer :   Same


Explanation : All columns in a matrix must have the same mode(numeric, character, etc) and also the same length. byrow=TRUE indicates that the matrix should be filled by rows. byrow=FALSE indicates that the matrix should be filled by columns (the default).

Advertisement