Remove First Row of Data Frame in R (Example) | Delete Top of Matrix | Subsetting Table without Head

preview_player
Показать описание
R code of this video:

x2 = LETTERS[1:5])
data # Printing example data

data_new <- data[- 1, ] # Remove first row
data_new # Print updated data
Рекомендации по теме
Комментарии
Автор

Great - also learnt about deleting duplicate rows by reading the blog and seeing the link. Two for the price of one! Thanks!

macanbhaird