Remove Last N Elements of Vector in R (2 Examples) | Drop, Delete, Extract, Select | head() Function
Автор: Statistics Globe
Загружено: 2021-11-01
Просмотров: 720
Описание:
How to delete the last N elements of a vector object in the R programming language. More details: https://statisticsglobe.com/remove-la...
R code of this video:
vec <- letters[1:10] # Create example vector
vec # Print example vector
head(vec, - 1) # Remove last element
head(vec, - 5) # Remove last N elements
Follow me on Social Media:
Facebook – Statistics Globe Page: / statisticsglobecom
Facebook – Group for Discussions & Questions: / statisticsglobe
LinkedIn – Statistics Globe Page: / statisticsglobe
LinkedIn – Group for Discussions & Questions: / 12555223
Twitter: / joachimschork
Music by bensound.com
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: