Description Usage Arguments Value See Also Examples

`sq_matrix`

takes a vector and converts it into a
square matrix.

1 |

`data` |
Object (probably vector) to be turned into square matrix |

`byrow` |
Whether to fill in the matrix by row or by column |

A matrix with the same number of columns and rows

1 2 3 |

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.