Description Usage Arguments Details Value Author(s) Examples

Internal function, generally not called by users.

1 | ```
concat(x1, x2)
``` |

`x1` |
A matrix. It can have any numbers of columns and rows, but cannot be empty |

`x2` |
A matrix. It can have any numbers of columns and rows, but cannot be empty |

This function takes as input two matrices and builds a matrix with all the possible combinations of the rows of the first input matrix, with the rows of the second one. If *r1* and *c1* (resp. *r2* and *c2*) are the row and the column number of the matrix *x1* (resp. *x2*), then the output matrix will have *c1 + c2* columns and *r1 * r2* rows. Therefore, each row of the output matrix is composed by any of the rows of *x1* (in the first *c1* columns) and any of the rows of *x2* (in the column from *c1 + 1* to *c1 + c2*).

A matrix.

Lucia Tamburino

1 2 3 4 5 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.