结果:找到“BVE”相关内容15个,排序为按回复时间降序,搜索更多相关帖子请点击“高级”
Repeat subvector in a vector
4 个回复 - 1767 次查看
In R, given a vector such as [2,3,4,5,6,7], how can I get a vector like [2,3,2,3,4,5,4,5,6,7,6,7], that is, repeat every two elements together once? Thanks in advance for your help!
2012-11-13 22:20 - wuwei629 - R语言论坛