《学习小组Day5笔记--哇哈哈》
2019-10-18 本文已影响0人
哇哈哈_2
R基础入门


介绍三种索引方式:
如果在程序的其他位置,已经有了与数据框相同的变量(如欧洲和亚洲,都有height),用with函数,没有同样的变量,则可以用attach函数,详细例子可点击链接
https://blog.51cto.com/gldbhome/1944924
以age为例
attach的age
with的age
R语言,要学的东西还是很多哎

R基础入门
如果在程序的其他位置,已经有了与数据框相同的变量(如欧洲和亚洲,都有height),用with函数,没有同样的变量,则可以用attach函数,详细例子可点击链接
https://blog.51cto.com/gldbhome/1944924
以age为例
attach的age
with的age
R语言,要学的东西还是很多哎