R 函数学习 - names()

2020-04-22  本文已影响0人  Thinkando
Get the names of all variables in the dataset

names(mtcars)

> names(mtcars)

 [1] "mpg" "cyl"  "disp" "hp"  "drat" "wt"  "qsec" "vs"  "am"  "gear"

[11] "carb"
上一篇下一篇

猜你喜欢

热点阅读