| unitizer | R Documentation | 
Fit matrix to unit circle
unitizer(x, center = rep(0, ncol(x)))
x | 
 matrix  | 
center | 
 center of matrix  | 
matrix
A = matrix(c(1, 2,
            -8,6,
             9,5),
            ncol = 2,
            byrow = TRUE)
unitizer(A)
cA <- unitizer(A, center = colMeans(A))
plot(cA, xlim = c(-1, 1), ylim = c(-1, 1))
t <- seq(0,2*pi, length.out = 361)
lines(cos(t), sin(t))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.