This tutorial demonstrates how to remove variable names and add variable names to a data frame object. I keep things simple by showing how both removing and adding variable names can be completed using the names function from base R.
Other videos from my "R Tutorials" playlist can be found here: https://www.youtube.com/playlist?list=PLKkRkURCtPjCJOZHskCoyJCPb8wMDs2CW
The data file(s) referenced in this R tutorial (and other R tutorials on this playlist) can be downloaded as a compressed (zipped) folder by visiting the following link: https://github.com/davidcaughlin/R-Tutorial-Data-Files.git. Click "Clone or Download" followed by "Download ZIP".