[ top | up ]

Combine Rows into a Matrix

Syntax

rbind(...)

Description

rbind takes a sequence of vector arguments and combines them as the rows of a matrix. If the vectors differ in length, the values in the shorter ones are recycled so that their effective length is equal to that of the longest argument.

See Also

cbind, c.

Examples

rbind(1,1:n)