R语言用哪个函数删除数组的一行?
> test
Date Adj.Close
1 2010-08-26 2603.48
2 2010-08-25 2596.58
那么如果想删除test的第二行,应该用哪个函数
解决方法:
删除第二行:test[-2,]
删除第2列:test[,-2]