DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR R
r reverse vector
# Reverse vector elements rev(vec) # Example: vec <- c(1, 2, 3, 4) rev(vec) >> 4, 3, 2, 1
PREVIOUS
NEXT
Tagged:
#reverse
#vector
ADD COMMENT
Topic
COMMENT
Name
9+2 =
Submit