rsa_model_mat | R Documentation |
This function constructs a model matrix for the given RSA design by processing distance matrices and other variables.
rsa_model_mat(rsa_des)
rsa_des |
An RSA design object created by |
The function takes an RSA design object as input and processes the distance matrices and other variables to construct a model matrix. It handles different types of input matrices, including symmetric and asymmetric distance matrices, and can include or exclude within-run comparisons based on the RSA design.
A named list of vectors, with each vector corresponding to the processed input data of the RSA design.
dismat <- dist(matrix(rnorm(100*100), 100, 100))
rdes <- rsa_design(~ dismat, list(dismat=dismat))
rsa_model_mat(rdes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.