print.cval: Print a rgcca_cv object

View source: R/print.cval.r

print.cvalR Documentation

Print a rgcca_cv object

Description

Print a fitted rgcca_cv object. Parameters of the analysis, tuning parameters and statistics for each set of parameters are displayed.

Usage

## S3 method for class 'cval'
print(x, type = "sd", ...)

Arguments

x

A rgcca_cv object (see rgcca_cv)

type

Character string indicating the statistics in the box plots:

  • "sd" (default): the middle bar corresponds to the mean and limits of the boxes are given by the mean plus or minus the standard deviation.

  • "quantile": the middle bar corresponds to the median and limits of the boxes are given by the 25

...

Other parameters used in print (for the displaying of matrices)

Value

none

Examples

data("Russett")
blocks <- list(
  agriculture = Russett[, seq(3)],
  industry = Russett[, 4:5],
  politic = Russett[, 6:8]
)
res <- rgcca_cv(blocks,
  response = 3, method = "rgcca", par_type = "tau",
  par_value = c(0, 0.2, 0.3), n_run = 1, n_cores = 1
)
print(res)

Tenenhaus/RGCCA documentation built on March 16, 2023, 2:04 p.m.