dflst_pca: Apply PCA to the data after catenating data.frames horizontally

Description

Apply PCA to the data after catenating data.frames horizontally

Usage

1
dflst_pca(df_lst, center = F, scale = F)

Arguments

df_lst

[1,m] list of data.frames, A list of data.frames to process

center

boolean, TRUE -> center data, FALSE -> do nothing

scale

boolean, TRUE -> scale data, FALSE -> do nothing

Value

A list with elements:

pcdf:

data.frame, PCA components (prcomp()$x)

model:

list, Output of prcomp()


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.