manova_design | R Documentation |
This function creates a MANOVA design object containing a formula expression and a named list of data.
manova_design(formula, data)
formula |
A formula expression specifying the MANOVA regression model. |
data |
A named list containing the dissimilarity matrices and any other auxiliary variables. |
The function takes a formula expression and a named list of data as input, and returns a MANOVA design object. The object is a list that contains the formula expression and the named list of data with class attributes "manova_design" and "list". This object can be further used for MANOVA analysis or other related multivariate statistical methods.
A MANOVA design object with class attributes "manova_design" and "list".
# Create a MANOVA design
formula <- y ~ x1 + x2
data_list <- list(y = dissimilarity_matrix_y, x1 = dissimilarity_matrix_x1, x2 = dissimilarity_matrix_x2)
manova_design_obj <- manova_design(formula, data_list)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.