Vector Concatenation

DESCRIPTION:

Concatenate vectors or bdVectors, as in c(), but without naming the components.

USAGE:

concat(...) 
concat.two(x, y) 

REQUIRED ARGUMENTS:

x
first vector or bdVector to concatenate.
y
second vector or bdVector to concatenate.

OPTIONAL ARGUMENTS:

...
vectors or bdVectors to concatenate.

VALUE:

an object containing all the elements of the passed-in vectors, in order.

DETAILS:

The concat function calls concat.two recursively to concatenate its arguments together. concat.two is a generic function; to make methods for new classes, it is only necessary to make methods for the concat.two function. Usually, you would not call concat.two directly, but you could call it for efficiency.

SEE ALSO:

.

EXAMPLES:

# the following will be a character vector without names 
concat(1, 2, x=3.3, y="hi") 
# the following will be the same vector with names 
c(1, 2, x=3.3, y="hi")