View source: R/dimension_reduction.R
factor_rsquared | R Documentation |
Collect the r^2 values from a linear model fitting between a singular value decomposition and factor.
factor_rsquared(datum, fact, type = "factor")
datum |
Result from corpcor::fast.svd. |
fact |
Experimental factor from the original data. |
type |
Make this categorical or continuous with factor/continuous. |
The r^2 values of the linear model as a percentage.
[corpcor] [stats::lm()]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.