print.rgcca | R Documentation |
Print a RGCCA object
## S3 method for class 'rgcca' print(x, ...)
x |
A RGCCA object (see |
... |
Other parameters used in print (for the displaying of matrices) |
Print a fitted RGCCA object. Some information about the model are displayed like model parameters or criterion.
none
data(Russett) X_agric <- as.matrix(Russett[, c("gini", "farm", "rent")]) X_ind <- as.matrix(Russett[, c("gnpr", "labo")]) X_polit <- as.matrix(Russett[, c("demostab", "dictator")]) A <- list(X_agric, X_ind, X_polit) C <- matrix(c(0, 0, 1, 0, 0, 1, 1, 1, 0), 3, 3) res <- rgcca(A, connection = C, ncomp = rep(2, 3), tau = c(1, 1, 1), scheme = "factorial", scale = TRUE, verbose = FALSE ) print(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.