armaGinv | R Documentation |

a simple wrapper to call Armadillo's pinv function

```
armaGinv(x, tol = NULL)
```

`x` |
numeric matrix |

`tol` |
numeric: maximum singular value to be considered |

Pseudo-inverse

```
mat <- matrix(rnorm(12),3,4)
pinvmat <- armaGinv(mat)
```

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.