as.vector.linked_list: Translate a linked list into an R vector.

Description Usage Arguments Value

Description

Translate a linked list into an R vector.

Usage

1
2
## S3 method for class 'linked_list'
as.vector(x, mode = "any")

Arguments

x

The linked list

mode

The mode (numeric, logical, etc.) for the constructed vector. The default will be a list

Value

An R vector with the elements found in the linked list.


mailund/ralgo documentation built on May 21, 2019, 11:07 a.m.