print.summary.o2m: Prints the summary of an O2PLS fit

Description Usage Arguments Examples

View source: R/OmicsPLS.R

Description

Readable output is given in the form of percentages of variances explained.

Usage

1
2
## S3 method for class 'summary.o2m'
print(x, ...)

Arguments

...

For compatibility

Examples

1
summary(o2m(scale(-2:2),scale(-2:2*4),1,0,0))

Example output

Attaching package:OmicsPLSThe following object is masked frompackage:stats:

    loadings


*** Summary of the O2PLS fit *** 

-  Call: o2m(X = scale(-2:2), Y = scale(-2:2 * 4), n = 1, nx = 0, ny = 0) 

-  Modeled variation
-- Total variation:
in X: 4 
in Y: 4 

-- Joint, Orthogonal and Noise as proportions:

           data X data Y
Joint           1      1
Orthogonal      0      0
Noise           0      0

-- Predictable variation in Y-joint part by X-joint part:
Variation in T*B_T relative to U: 1 
-- Predictable variation in X-joint part by Y-joint part:
Variation in U*B_U relative to T: 1 

-- Variances per component:

        Comp 1
X joint      4
Y joint      4


-  Coefficient in 'U = T B_T + H_U' model:
-- Diagonal elements of B_T =
 1 

OmicsPLS documentation built on May 19, 2021, 5:08 p.m.