calculate_Rsq: calculate_Rsq

Description Usage Arguments Value

View source: R/calculate_Rsq.R

Description

calculate Rsq value from linear regression.

Usage

1
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/mvhspatialplots documentation built on April 24, 2021, 10:52 a.m.