View source: R/compute_metrics.R
cor_rsq | R Documentation |
Returns R-sq of a dv given correlation matrix of ivs, dv cors <- cbsem_summary$descriptives$correlations$constructs cor_rsq(cors, dv_name = "Value", iv_names = c("Image", "Quality"))
cor_rsq(cor_matrix, dv_name, iv_names)
cor_matrix |
A correlation matrix that includes ivs and dv |
dv_name |
Character string of dependent variable |
iv_names |
Vector of character strings for independent variables |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.