r2_calc: Extract R^2 from a linear model

Description Usage Arguments Value Author(s)

View source: R/calculate_R2.R

Description

Calculate the adjusted r-squared from a linear model given a dataframe and formula

Usage

1

Arguments

data

The data frame to perform the calculation on

formula

A formula for the model

Value

A scalar numeric representing the adjusted r-squared for the model

Author(s)

Sam Levin


levisc8/Fun_Phylo_Package documentation built on June 2, 2020, 8:41 a.m.