.pcr_rsquared | R Documentation |
Calculate R squared
.pcr_rsquared(vec, var)
vec |
A vector of numerics |
var |
A grouping variable |
A numeric
vec <- rnorm(6, 30, 1) var <- rep(c(.1, .5), 3) pcr:::.pcr_rsquared(vec, var)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.