Rdocumentation
powered by
Learn R Programming
cocoreg (version 0.1.1)
dflst_pca: Apply PCA to the data after catenating data.frames horizontally
Description
Apply PCA to the data after catenating data.frames horizontally
Usage
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()