getCorrs: getCorrs

Description Usage Arguments Value

Description

This function takes a fitted EMMLi model and the models used to fit it, and then returns all the correaltions for the best fitting model. This is recycled from the main EMMLi function - Possible that this will change with the refactoring of EMMLi.

Usage

1
getCorrs(emm, models, corr)

Arguments

emm

A fitted EMMLi model (output of EMMLi).

models

A data frame defining the models. The first column should contain the landmark names as factor or character. Subsequent columns should define which landmarks are contained within each module with integers, factors or characters. If a landmark should be ignored for a specific model (i.e., it is unintegrated in any module), the element should be NA.

corr

The original correlation matrix used in the EMMLi analysis that generated the input.

Value

The correlations within and between modules of the best model.


hferg/EMMLiv2 documentation built on May 28, 2019, 8:55 p.m.