list.reverse: Reverse a list

Description Usage Arguments Examples

View source: R/list.reverse.R

Description

Reverse a list

Usage

1
list.reverse(.data)

Arguments

.data

A list or vector

Examples

1
2
x <- list(a=1,b=2,c=3)
list.reverse(x)

Example output

$c
[1] 3

$b
[1] 2

$a
[1] 1

rlist documentation built on Sept. 5, 2021, 5:30 p.m.