MENU

Fun & Interesting

How to assign row names from a given column to data in R or RStudio

Minukuu Tutorials 7,791 lượt xem 4 years ago
Video Not Working? Fix It Now

It is sometimes necessary to name the rows of your when importing data into R or RStudio. For example to make the graph of individuals in the PCA. By default R assigns numbers as row names of your data but they can be replaced by the real row names by specifying the column which contains the row names.

Please, subscribe to my TouTube channel:
https://www.youtube.com/c/MinukuuTutorials
#MinukuuTutorials #rownamesinr #Rstudio

Comment