mbecVarianceStatsLM: Model Variable Variance Extraction from LM

Description Usage Arguments Details Value

View source: R/mbecs_analyses.R

Description

For a Linear Model, this function extracts the proportion of variance that can be explained by terms and interactions and returns a named row-vector.

Usage

1

Arguments

model.fit

A linear model object of class 'lm'.

Details

Linear Model: Perform an analysis of variance (ANOVA) on the model.fit and return the Sum of squares for each term, scaled by the total sum of squares.

Value

A named row-vector, containing proportional variance for model terms.


buschlab/MBECS documentation built on Jan. 21, 2022, 1:27 a.m.