as.vector.tree_bag: Translate a tree bag into an R vector.

Description Usage Arguments Value

View source: R/bags.R

Description

Translate a tree bag into an R vector.

Usage

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

Arguments

x

The tree bag.

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 bag.


mailund/ralgo documentation built on April 3, 2018, 9:29 p.m.