Answer:
age<-c(20,30,40)
names(age)<-c ("ELI", "ALI", "JON")age
## ELI ALI JON
## 20 30 40
Explanation:
The above given vector named age consists of three elements. Each element consists of ages of three people, ELI, ALI and JON, such that 20 corresponds to ELI, 30 to ALI and 40 to JON.