Collect all (or some given number of) values from an iteror, returning a vector of the given type.
Source:R/collect.R
as.vector.iteror.Rd
Collect all (or some given number of) values from an iteror, returning a vector of the given type.
Usage
# S3 method for iteror
as.list(x, n = as.integer(2^31 - 1), ...)
# S3 method for iteror
as.double(x, n = as.integer(2^31 - 1), ...)
# S3 method for iteror
as.numeric(x, n = as.integer(2^31 - 1), ...)
# S3 method for iteror
as.logical(x, n = as.integer(2^31 - 1), ...)
# S3 method for iteror
as.character(x, n = as.integer(2^31 - 1), ...)
# S3 method for iteror
as.vector(x, mode)