Steven Sanderson asks, what’s in a name?
Think of
names()
as your data janitor, cleaning up and assigning names to the elements in your objects. It’s a chameleon, working with vectors, lists, data frames, and more!
Read on to see how you can define (or change) names in various objects.