View source: R/calculate_Rsq.R
calculate_Rsq | R Documentation |
calculate Rsq value from linear regression.
calculate_Rsq(dataframe, var_1, var_2)
dataframe |
dataframe with the values you're using for linear regression. |
var_1 |
one of the variables you're using for linear regression inputted as string. |
var_2 |
the other variable you're using for linear regression inputted as string. |
Rsq value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.