corr_orderedfactor_matrix_symC | R Documentation |
Correlation ordered factor matrix in C (symmetric)
corr_orderedfactor_matrix_symC(x, theta, xindex, offdiagequal)
x |
Matrix x |
theta |
Theta vector |
xindex |
Index to use |
offdiagequal |
What to set off-diagonal values with matching values to. |
Correlation matrix
corr_orderedfactor_matrix_symC(matrix(c(1,.5, 2,1.6, 1,0),ncol=2,byrow=TRUE),
c(1.5,1.8), 1, 1-1e-6)
corr_orderedfactor_matrix_symC(matrix(c(0,0,0,1,0,0,0,2,0,0,0,3,0,0,0,4),
ncol=4, byrow=TRUE),
c(0.101, -0.714, 0.114, -0.755, 0.117, -0.76, 0.116, -0.752),
4, 1-1e-6) * 6.85
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.