Description Usage Arguments Author(s) Examples

`testmatrix`

Function for generating random rank-r matrix

1 | ```
testmatrix(m, n, r, seed = 123)
``` |

`m` |
Number of rows in matrix to be generated |

`n` |
Number of columns in matrix to be generated |

`r` |
Rank of matrix to be generated (r >= 2) |

`seed` |
Random seed |

Jocelyn T. Chi

1 2 3 4 | ```
m <- 100
n <- 1000
r <- 5
testmatrix(m,n,r)
``` |

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.