| polarDecomposition | R Documentation | 
decomposes X into P and Z (matrices) where Z is a rotation and P is shearing. will prevent Z from containing reflections.
polarDecomposition(X)
| X | matrix | 
decomposition into P Z and approximation of X by P %*% Z
Avants BB
pd = polarDecomposition( matrix( rnorm(9), nrow=3 ) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.