I am very new to R programming. And currently enrolled with one online course from Harvard 'Data analysis for Life Sciences Series'. I was wondering if anyone of know if anyone of you know what this means How many cells (number of rows times number of columns) would this matrix have? '. I tried to do number of matrix * number of columns and the answer was wrong.
Can you please help me ?
You can use the
dim() function to find the dimensions of a matrix object.
I did and this is what comes up 22215 189. In this 22215 is the no of rows and 189 is no of columns, but when I multiply this both i.e. 22215*189 =4198635. It say worng value.
I don't understand. Why do you say that it is the wrong value?
Answer is 493506225 (=22215²)
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.