Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 211927

What is the best way to turn a data set with first column headers and the data being in rows in R? How do I convert them to columns?

$
0
0

What is the best way to turn a data set with the first column being the headers and the data being in rows versus columns? How do I convert them to columns? I have transposed the data and then converted the first row to column headers but the class of my data changed.


Viewing all articles
Browse latest Browse all 211927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>