Why are names(x)<-y and “names<-”(x,y) not equivalent?

前端 未结 0 1589
一个人的身影
一个人的身影 2020-12-21 22:21

Consider the following:

y<-c("A","B","C")  
x<-z<-c(1,2,3)  
names(x)<-y
"names<-"(z,y)
<
相关标签:
回答
  • 消灭零回复
提交回复
热议问题