rev(x) dreht die Reihenfolge der Zahlenreihe x um.

Handhabung

Liegt eine Zahlenreihe x vor, z.B.

x <- c(1,2,3,4,5,6,7,8)

so wird die Reihe durch den rev()-Befehl umgedreht:

rev(x)
8   7   6   5   4   3   2   1


siehe auch


This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.