.. {eList}R Documentation

Create Vector

Description

The .. function allows for the quick creation of vector using either ..(...) or ..[...]. It accepts vector comprehension arguments using for .... It can also be used as a more general form of c.

Usage

..(..., clust = NULL, type = Vec, simplify = TRUE)

Arguments

...

values to be combined within a vector. Arguments beginning with for are interpreted as comprehensions.

clust

cluster to use for parallel computations

type

comprehension function used when for arguments are present. Defaults to Vec.

simplify

logical; should the result be simplified to an array if possible?

Value

vector

Examples

..[for (i in 1:10) 2*(1:i)]


[Package eList version 0.2.0 Index]