Learn R Programming

multiblock (version 0.8.8.2)

explvar: Explained predictor variance

Description

Extraction and/or computation of explained variances for various object classes in the multiblock package.

Usage

explvar(object)

Value

A vector of component-wise explained variances for predictors.

Arguments

object

An object fitted using a method from the multiblock package

Examples

Run this code
data(potato)
so <- sopls(Sensory ~ Chemical + Compression, data=potato, ncomp=c(10,10), 
            max_comps=10)
explvar(so)

Run the code above in your browser using DataLab