View source: R/make.symmetric.r
make.symmetric | R Documentation |
Create symmetrical matrix of lower or upper traingle of a matrix
make.symmetric(values, triangle = "upper")
values |
vector of length cumsum(ncol(matrix)) |
triangle |
defaulting to 'upper', can also take the value 'lower' |
A matrix of dimension ncol x ncol
xml.Extract.NM.Matrix
make.symmetric(c(0.12,
0.02,1.02,
0.23,-0.3,0.23))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.