CalculateR2: Calculates R2 across factors for different imputation types

Description Usage Arguments Value

View source: R/ComparingImpMethods.R

Description

Creates data frame of R2 values across factors and imputation type. May take time with large sample size.

Usage

1
CalculateR2(imputed.df, factor_mat)

Arguments

imputed.df

dataframe of imputed values. Output from ImputeMissingMetabolites()

factor_mat

Matrix where 3 columns are three factors and rows are values of each factor

Value

data frame of R2 values by imputation type


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