Creates directories (suppressing warnings and creates parents...

`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 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.