R/reverse-methods.R

### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### "reverse" methods.
###

setMethod("reverse", "XVector", function(x, ...) xvcopy(x, reverse=TRUE))

setMethod("rev", "XVector", function(x) reverse(x))

setMethod("reverse", "XVectorList", function(x, ...) xvcopy(x, reverse=TRUE))

Try the XVector package in your browser

Any scripts or data that you put into this service are public.

XVector documentation built on Nov. 8, 2020, 5:19 p.m.