What is this? I can\'t find help by using ?. (Sorry for being dumb)
?
> 1%*%1 [,1] [1,] 1 > 10%*%10 [,1] [1,] 100 > c(1:2)%
This operator is used to multiply a matrix with its transpose.
M = matrix( c(2,6,5,1,10,4), nrow = 2,ncol = 3,byrow = TRUE) t = M %*% t(M) print(t)
from tutorialspoints