Operations on Matrices and Data Frames
Title
Question
<pre style="margin:4.2pt;background:white"><span style="font-size:11.0pt;color:black"> [,1] [,2]<o:p></o:p></span></pre><pre style="margin:4.2pt;background:white"><span style="font-size:11.0pt;color:black">[1,] 9 10<o:p></o:p></span></pre><pre style="margin:4.2pt;background:white"><span style="font-size:11.0pt;color:black">[2,] 11 12<o:p></o:p></span></pre><pre style="margin:4.2pt;background:white"><span style="font-size:11.0pt;color:black">[3,] 13 14<o:p></o:p></span></pre><pre style="margin:4.2pt;background:white"><span style="font-size:11.0pt;color:black">[4,] 15 16<o:p></o:p></span></pre><pre style="margin:4.2pt;background:white"><span style="font-size:11.0pt;color:black"> valuesC<o:p></o:p></span></pre><pre style="margin:4.2pt;background:white"><span style="font-size:11.0pt;color:black">[1,] 9 10 17<o:p></o:p></span></pre><pre style="margin:4.2pt;background:white"><span style="font-size:11.0pt;color:black">[2,] 11 12 18<o:p></o:p></span></pre><pre style="margin:4.2pt;background:white"><span style="font-size:11.0pt;color:black">[3,] 13 14 19<o:p></o:p></span></pre><pre style="margin:4.2pt;background:white"><span style="font-size:11.0pt;color:black">[4,] 15 16 20<o:p></o:p></span></pre>
<o:p> how to change the row header to 1, 2, 3. in the above output row header is not appearing for two columns. kindly guide.</o:p>
R Operations-on-Matrices-and-Data-Frames 11-12 min 40-50 sec
Answers:
Kindly share your code which you have implemented.
Login to add comment