FactorAnalysis: Runs factor analysis

Description Usage Arguments Value

View source: R/ComparingImpMethods.R

Description

Runs factor analysis with 1-4 factors. Converts input from 2d to 3d form (such as in the description of ReogranizeAndMICE()). Outputs both factor analysis intermediates (loadings, scores, ...) and estimated correlation for each study. Input is second output from ReorganizeAndMICE(), where the columns are studies and the rows are pairwise correlation. Runs factor analysis on transpose of input.

Usage

1
FactorAnalysis(reorganized_corr_mice_med, num_of_metabos = 20)

Arguments

reorganized_corr_mice_med

Second output from ReorganizeAndMICE(). Fischer transformed 2d matrix

num_of_metabos

Number of metabolites

Value

list of lists. First list is factor analysis intermediates for 1-4 factors, second is 3d corr matrices for 1-4 factors


jordanaron22/ImputingMetabolites documentation built on Dec. 21, 2021, 2:18 a.m.