Summer Deals - hours only!Up to 80% off on all courses and bundles.-Close
Introduction
Introduction to lists
Accessing list elements
Unnamed lists
Working with lists
Summary

Instruction

The names() function returned NULL, which means the list's members are not named. That makes sense!

However, you can always define names yourself using the names() function by assigning an appropriate vector of character values.

Exercise

Assign the following names to the members of the job_roles_no_names list, in this particular order: position, experience_in_years, technical_skills.

Stuck? Here's a hint!

Type:

names(job_role_no_names) <- c("position", "experience_in_years", "technical_skills")