How to add merging two matrices by Row or Column
Title
Question
<span style="font-family: arial, sans-serif; font-size: 16px;">To arrange A and B as two rows of a </span>matrix<span style="font-family: arial, sans-serif; font-size: 16px;">, use the semicolon. To </span>concatenate<span style="font-family: arial, sans-serif; font-size: 16px;"> two </span>matrices<span style="font-family: arial, sans-serif; font-size: 16px;">, they must have compatible sizes. In other words, when you </span>concatenate matrices<span style="font-family: arial, sans-serif; font-size: 16px;"> horizontally, they must have the same number of rows. When you </span>concatenate<span style="font-family: arial, sans-serif; font-size: 16px;"> them vertically, they must have the same number of columns.</span>
R Installing-R-and-RStudio-on-Windows 09-10 min 10-20 sec
Answers:
At 9 minute and 10-20 seconds of this tutorial, this topic is not discussed. So, your question is not at all clear.
Please reproduce the commands in each tutorial. If you get stuck in any of them, please ask a question in the forum.
Login to add comment