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

Description Usage Arguments Value

View source: R/common_tools.R

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()


cocoreg documentation built on May 2, 2019, 6:48 a.m.