📜  r reverse vecto - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:52:00.048000             🧑  作者: Mango

代码示例1
# Reverse vector elements
rev(vec)

# Example:
vec <- c(1, 2, 3, 4)
rev(vec)
>> 4, 3, 2, 1