estimateVarianceExplained: Estimate propotion of variance explained by each compoent in...

Description Usage Arguments Value Author(s)

View source: R/VarCompFunctions.R

Description

#Apply an lme4 model (model_function) to a data frame and report the proportion of variance explained by each component.

Usage

1
estimateVarianceExplained(model_data, model_function)

Arguments

model_data

data frame with all of the neccessary columns for the model.

model_function

Function that when applied to a model_data data frame returns an lme4 object.

Value

data frame containing the proportion of variance explained by each component.

Author(s)

Kaur Alasoo


kauralasoo/seqUtils documentation built on May 20, 2019, 7:42 a.m.