[ top | up ]

Combine Rows into a Matrix

Syntax

rbind(...)

Value

rbind takes a sequence of vector and/or matrix 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

c, cbind.

Examples

rbind(1,1:n)