calculate_Rsq: calculate_Rsq

View source: R/calculate_Rsq.R

calculate_RsqR Documentation

calculate_Rsq

Description

calculate Rsq value from linear regression.

Usage

calculate_Rsq(dataframe, var_1, var_2)

Arguments

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.

Value

Rsq value.


mvhunter1/mvhfunctions documentation built on May 31, 2024, 3:36 p.m.