Description Usage Arguments Examples
Calculates and plots the variance explained in the original data X and Y by each additional latent variable.
1 | plot_explained_variance(plsr_obj)
|
plsr_obj |
The plsr object. |
1 2 | plsr_obj = pls(rating_data, tracking_data,10,10)
plot_explained_variance(plsr_obj)
|
Be aware that plsr 0.0.1 contains experimental and partly untested code.
Use cautiously.
Attaching package: ‘plsr’
The following object is masked from ‘package:stats’:
loadings
Permuting...
========
================
========================
================================
========================================
================================================
========================================================
================================================================
========================================================================
================================================================================
Done!
Bootstrapping...
Done!
Warning messages:
1: In pls(rating_data, tracking_data, 10, 10) :
Bootstrapping functionality is still untested! No guarantee for correctness! Use with extra care.
2: In pls(rating_data, tracking_data, 10, 10) :
Some p-values are not stable under this precision.
Try to increase the number of permutation steps (n_perm).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.